+ 2

Is there anyway we can persist redux store with out any side effects?

I need to persist the redux store in my react application so that every component can have access to the same state.It is only when the state of the redux store changes the store should be updated. I lack any ideas.

1st Aug 2020, 6:50 PM
prime omondi
prime omondi - avatar
1 Antwort
+ 3
In redux, every components able to access the same state from a redux store. ReactJS is frontend app, it can't persist state on web, it have to be forwarded to backend, persist it on server database. For locally access, you can persist state by store it on local storage, but this method is not web accessible, accessible from local machine only.
2nd Aug 2020, 9:41 AM
Calviղ
Calviղ - avatar