Clearly describe the bug
Components don't automatically re-render upon changing value in State (even though the value has changes in localStorage. Components re-render automatically only in main page, when I try to import useLocalState to my sub-components in the page it just doesn't re-render on change.
Which version of use-local-state are you using?
0.1.4
What version of React are you using use-local-state within?
18.1.0
What build/platform are you using?
Next.js 12.3
What did you expect to happen?
Components to automatically re-render when value changes, just like in React's useState.
What actually happened (e.g. what warnings or errors did you get)?
Nothing
0.1.4
18.1.0Next.js 12.3
Components to automatically re-render when value changes, just like in React's
useState.Nothing