Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created March 15, 2016 06:36
Show Gist options
  • Save vincentdesmares/06ce0b638861cc5a7e0e to your computer and use it in GitHub Desktop.
Save vincentdesmares/06ce0b638861cc5a7e0e to your computer and use it in GitHub Desktop.
Recursive reducers around a main reducer?
combineReducers({
house: wrapReducerProperties(
rooms: wrapReducerProperties({
entities: wrapReducerProperties({
foo:fooReducer,
test:testReducer
},
entitiesReducer)
),
houseReducer
),
....
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment