It's a redux store. The state is stored in the store and the store is stored in local storage.
If you don't need redux I've written an article about just using storage too.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's a redux store. The state is stored in the store and the store is stored in local storage.
If you don't need redux I've written an article about just using storage too.
React: Custom hook for accessing storage
Andrew Bone ・ Apr 21 '21 ・ 8 min read