Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

react-redux-state-going-to-init-on-route-change-with-nginx #39

Open
thevzurd opened this issue May 31, 2020 · 0 comments
Open

react-redux-state-going-to-init-on-route-change-with-nginx #39

thevzurd opened this issue May 31, 2020 · 0 comments

Comments

@thevzurd
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant