ngrx / store-devtools

Developer Tools for @ngrx/store
MIT License
325 stars 38 forks source link

How do you add multiple reducers to the same instrumentStore? #24

Closed danrasmuson closed 7 years ago

danrasmuson commented 8 years ago

Say I have ten reducers.. How do I add all those reducers to the same instrumentStore?

instrumentStore({
    monitor: [oneReducer, twoReducer, ...etc],
    maxAge: 5
  })
danrasmuson commented 8 years ago

If anyone is interested I ended up using...

import {combineReducers} from '@ngrx/store'
instrumentStore({
  monitor: combineReducers({one: oneReducer, two: twoReducer}),
  maxAge: 50
})