I made an app, using react/react-router, now I need to make another one but I want to add redux to this stack, because is awesome. If in simple react, I kept some little global state in App and other state was kept in each component(by route / code splitting), how should I keep this state for entire application in redux? Should I also split state by route somehow? Thanks!
I think code splitting in Redux is a bit harder than it should have been. I don't really have a great solution for this, but something like stackoverflow.com/a/33044701/458193 works (it uses RR3 API but that's not the important part).
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.