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. |
Beta Was this translation helpful? Give feedback.
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
useEffect
that hassetLocalAvatarId
in it's dependency array and it's being called over and over again.Does
setLocalAvatarId
have stable identity? Seems like noBeta Was this translation helpful? Give feedback.
All reactions