Reusing Reducer Logic

Reusing Reducer Logic As an application grows, common patterns in reducer logic will start to emerge. You may find several parts of your reducer

2016-11-27 05:58:36
Implementing Undo History

Implementing Undo History Building an Undo and Redo functionality into an app has traditionally required conscious effort from the developer

2016-11-27 05:58:28
Beyond combineReducers

Beyond combineReducers The combineReducers utility included with Redux is very useful, but is deliberately limited to handle a

2016-11-27 05:58:23
Prerequisite Reducer Concepts

Prerequisite Reducer Concepts As described in Reducers, a Redux reducer function:

2016-11-27 05:58:30
Isolating Redux Sub-Apps

Isolating Redux Sub-Apps Consider the case of a “big” app (contained in a

2016-11-27 05:58:28
Using Object Spread Operator

Using Object Spread Operator Since one of the core tenets of Redux is to never mutate state, you'll often find yourself using

2016-11-27 05:58:41
Reducing Boilerplate

Reducing Boilerplate Redux is in part inspired by Flux, and the most

2016-11-27 05:58:31
Writing Tests

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.

2016-11-27 05:58:41
Refactoring Reducer Logic Using Functional Decomposition and Reducer Composition

Refactoring Reducer Logic Using Functional Decomposition and Reducer Composition It may be helpful to see examples of what the different types

2016-11-27 05:58:36
Using combineReducers

Using combineReducers Core Concepts The most common state shape for a Redux app is a plain Javascript object

2016-11-27 05:58:41