- In simple terms, any data that may change ends up living in Redux, which then gets wired up to your React containers to provide the means to read from or write to your state object.
- It is often used in combination with React to pull state out from the view layer into a single store.
- Flux allows for either mutable or immutable data (although immutability is often encouraged); Redux mandates immutability.
- The single store and immutable data allows for easy implementation of features such as simpler state hydration, snapshots, or recording/”time travel”.
- An additional thing to consider is that your data should be represented in your state object in a normalized way.
@blackpixel: “Learn about writing Redux-powered apps with our team’s Redux Handbook: #reactjs #gitbook” open tweet »