Isolating Redux Sub-Apps Consider the case of a “big” app (contained in a
Reusing Reducer Logic As an application grows, common patterns in reducer logic will start to emerge. You may find several parts of your reducer
Prerequisite Reducer Concepts As described in Reducers, a Redux reducer function:
Beyond combineReducers The combineReducers utility included with Redux is very useful, but is deliberately limited to handle a
Implementing Undo History Building an Undo and Redo functionality into an app has traditionally required conscious effort from the developer
Using Object Spread Operator Since one of the core tenets of Redux is to never mutate state, you'll often find yourself using
Recipes These are some use cases and code snippets to get you started with Redux in a real app. They assume you understand the topics in
Writing Tests Because most of the Redux code you write are functions, and many of them are pure, they are easy to test without mocking.
Basic Reducer Structure and State Shape Basic Reducer Structure First and foremost, it's important to understand
Refactoring Reducer Logic Using Functional Decomposition and Reducer Composition It may be helpful to see examples of what the different types
Page 1 of 3