Redux

26 lessons

Achievements
Combined Shape@2x

The Certificate

avatar

Example

In the code example below we’ll refer to the usage of combineReducer function.

The first line of code produces:

rock, and other state that’s managed by rockReducer.

band, and other state that’s managed by bandReducer.

Developers can control state key names with the help of using different keys for reducers in the passed objects.