Skip to content

Problems using redux-form  #13

Open
@affemaen

Description

@affemaen

I'm having problems adding redux-form(redux-form": "6.7.0") as a reducer. Tried it on react-boilerplate which the boilerplate is forked from and it works fine.

after adding

+import { reducer as form } from 'redux-form/immutable';
return combineReducers({
export default function createReducer(asyncReducers: Redux.ReducersMapObject = {}): Redux.Reducer<any> {
  const reducers = {
    route: routeReducer,
    global: globalReducer,
    language: languageProviderReducer,
    + form
    ...asyncReducers,
  };

  return combineReducers(reducers);
}

to reducers.ts

The error I'm getting
screen shot 2017-05-17 at 14 39 38

I've tried removing the react-hot-loader and different versions of redux-immutable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions