You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We'd like to use the storage hooks to handle random values, e.g. a generated UUID.
However the hooks do not persist the initial value. Hence reloading the hook results in a new value.
Suggestion is to add an option, .e.g
persistInitialValue
, defaulting to false, which does this.Happy to contribute some code if you think this is a good idea.
Beta Was this translation helpful? Give feedback.
All reactions