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
Isolating Redux Sub-Apps Consider the case of a “big” app (contained in a
Prerequisite Reducer Concepts As described in Reducers, a Redux reducer function:
Reusing Reducer Logic As an application grows, common patterns in reducer logic will start to emerge. You may find several parts of your reducer
Using Object Spread Operator Since one of the core tenets of Redux is to never mutate state, you'll often find yourself using
Reducing Boilerplate Redux is in part inspired by Flux, and the most
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
Basic Reducer Structure and State Shape Basic Reducer Structure First and foremost, it's important to understand
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.
Page 1 of 3