21 lines
514 B
JavaScript
21 lines
514 B
JavaScript
import {combineReducers} from 'redux';
|
|
import {reducer as formReducer} from 'redux-form/immutable';
|
|
|
|
// import {pkgman} from '@truss/core';
|
|
|
|
// import {createReducer as createResourceReducer} from '../resource'
|
|
|
|
export default function createRootReducer() {
|
|
|
|
// dynamicReducers = pkgman.invokeFlat('perseaReducers').reduce(
|
|
// ((reducers, map) -> {reducers..., map...}), {}
|
|
// )
|
|
|
|
return combineReducers({
|
|
form: formReducer,
|
|
// resource: createResourceReducer()
|
|
|
|
// dynamicReducers...
|
|
});
|
|
}
|