Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created August 23, 2017 11:58
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 matthieu-D/66eb4a2e4da18db67ae2e7a440c70ba1 to your computer and use it in GitHub Desktop.
Save matthieu-D/66eb4a2e4da18db67ae2e7a440c70ba1 to your computer and use it in GitHub Desktop.
constructor( public store: NgRedux<ColorListState>, public colorActions: ColorActions, public devTools: DevToolsExtension) {
store.configureStore(
undoable.default(colorReducer),
INITIAL_STATE,
[ reduxLogger.createLogger()],
devTools.isEnabled() ? [ devTools.enhancer() ] : []);
colorActions.loadColors();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment