Just want to jump in and add a few comments about the article. I found that it was necessary for me to use “redux”: “^ 4.0.1” otherwise I would run into lots of weird errors about Observables being incorrectly cast.

Also, if you want to use ReduxDevTools with this, we are fortunate enough to have DevToolsExtension baked right into the “@angular-redux/store” node_module.

This is the code I found to let me use it with the project we made by following Sebastian’s steps:

export class AppModule {

constructor(private ngRedux: NgRedux<IAppState>, private devTools: DevToolsExtension) {

let enhancers = [];

//TODO: comment the below if you want to use devtools…delete before production!

if( devTools.isEnabled()){

enhancers = […enhancers, devTools.enhancer()];

}

this.ngRedux.configureStore(rootReducer, INITIAL_STATE, [], enhancers);

}

}

--

--

is a web developer, opera singer, actor, and lover of cats. (adrian-rosales.tech)

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adrian Rosales

Adrian Rosales

is a web developer, opera singer, actor, and lover of cats. (adrian-rosales.tech)

More from Medium

A 90-day writing challenge to reinforce a writing habit as a newbie to publishing online — results…

Impostor Feeling

Wind of Change

Photo by Antoine GIRET on Unsplash

Cracking the NIFT Recruitment Test