ReduxCasts
ReduxCasts copied to clipboard
react-redux-state-going-to-init-on-route-change-with-nginx
Hi Stephen, I took your Modern React with Redux course in Udemy (and many others) and found it quite useful to build a profession (getting hired) and day to day activities.
I was developing a react app that uses redux, which uses express.js as backend API server and postgres as db (which is exactly like the example from your Docker and Kubernetes course). However, I hit a wall when the Redux state was reset (it issues the @@INIT event) every time route changes on the react app. How can I make it retain the state ? Can you please guide me ? (perhaps redirect me to an example)
https://stackoverflow.com/questions/62067410/react-redux-state-going-to-init-on-route-change-with-nginx