Skip to content

Allow components to export an object containing multiple reducers

Alf Eaton requested to merge redux-form-reducer into master

This allows a component to export something like this:

module.exports = {
  frontend: {
    reducers: {
      foo: () => require('./reducers/foo'),
      bar: () => require('./reducers/bar'),
    }
  },
}

where foo and bar are the keys of the reducers in the redux store.

Merge request reports