Is useLocalStorage's setter stable between renders?
#692
Replies: 1 comment
|
I had separate issue that made me think the setter was unstable. Don't think this is issue anymore. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have:
with a
useEffectthat hassetLocalAvatarIdin it's dependency array and it's being called over and over again.Does
setLocalAvatarIdhave stable identity? Seems like noAll reactions