Replies: 1 comment
-
Noone will be changing the |
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.
-
there are some hooks like useCookieValue, useStorageValue ... , the initial value of useState is related to useFirstMountState, see react-hookz/web search useFirstMountState.
eg.
useFirstMountState is pretty easy
It means the first time useState executed with isFirstMount = true, after first render, isFirstMount is always false.
so, what's the difference with this
Beta Was this translation helpful? Give feedback.
All reactions