Skip to content

Instantly share code, notes, and snippets.

@avivshafir
Last active March 5, 2018 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avivshafir/10b93ebb4681f00b81847dc8c6f4c63d to your computer and use it in GitHub Desktop.
Save avivshafir/10b93ebb4681f00b81847dc8c6f4c63d to your computer and use it in GitHub Desktop.
Injecting the redux form reducer on the component load
public componentDidMount() {
const reduxFormReducer = require("redux-form").reducer;
injectAsyncReducer(store, "form", reduxFormReducer);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment