react-union
react-union copied to clipboard
Redux boilerplate
Show how to:
- unify the state through all widgets
- manage multiple instances of the same widget
Hi, any update on this issue?
Hi not yet. But you can have a look here https://github.com/tommmyy/finland-react-union/tree/03-namespaced-redux to get some inspiration.
Hi not yet. But you can have a look here https://github.com/tommmyy/finland-react-union/tree/03-namespaced-redux to get some inspiration.
Thanks for the help. Now I'm stuck on figuring out how to add redux store persistence. Simple using redux-persist
didn't work out. I also tried using isPersistent: true
as an option for withReducers
but that didn't work either. What am I missing?
Edit: I fixed it by combining the reducers first using combineReducers
so the error was on my end. It still would be nice to have a guide showing how to achieve code-splitting while persisting state.
I was able to persist the global state but still dont't seem to be able to make the widget state work with it.