Answer the question
In order to leave comments, you need to log in
Why store state in localStorage with react-persist?
What is the purpose of this and where can it be useful?
Answer the question
In order to leave comments, you need to log in
well, I wouldn’t do it in localStorage, it’s not typed, there is indexDB, although on small sizes it doesn’t matter, it
can come in handy in any offline first application, and not only
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question