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
{{ message }}
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
I'm new to React and this library, so my question may be a bit silly.
I'm using React hooks like useState, useReducer and dispatch inside components and using custom helper functions. For a small app like mine, this is overkill.
I need to persist the state into the local storage, but I don't know to do this using this library. Using React state management, I would use a custom hook like this:
I'm new to React and this library, so my question may be a bit silly.
I'm using React hooks like
useState
,useReducer
anddispatch
inside components and using custom helper functions. For a small app like mine, this is overkill.I need to persist the state into the local storage, but I don't know to do this using this library. Using React state management, I would use a custom hook like this:
The text was updated successfully, but these errors were encountered: