G
G
gfewf2019-02-28 01:04:38
React
gfewf, 2019-02-28 01:04:38

How to store reducer data in localstorage using redux saga?

How to store reducer data in localstorage using redux saga?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Demian Smith, 2019-02-28
@search

What you are interested in is popularly called rehydration and the saga is not really about that. It will be like a nail hammered with a microscope. Here is a suitable library https://github.com/rt2zz/redux-persist
Or this comment from one of the redux authors on how to achieve what you want without a library https://stackoverflow.com/a/35675304/379949

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question