Skip to content

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

@thevzurd

Description

@thevzurd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions