Top "Ngrx-store-4.0" questions

What is the difference between StoreModule.forRoot() and StoreModule.forFeature()

Recently ngrx store changed the way to register the store variables in an angular application. What is the difference between …

angular ngrx-store ngrx-store-4.0
NullInjectorError: No provider for ReducerManager

I am using the new ngrx 5. This is the file that holds the reducers and the featureSelector: import AppState from …

angular ngrx-store ngrx-store-4.0
what is ngrx createSelector and createFeatureSelector?

I have been reading the code of ngrx example app and find two function calls createFeatureSelector<AuthState>('auth'); …

ngrx ngrx-store ngrx-store-4.0
@ngrx/store combine multiple reducers from feature module

I am currently working on a simple test app to learn more about the @ngrx/store. I have a module …

angular ngrx ngrx-store-4.0
Error: No Provider for Store! in @ngrx 4.x

When migrating my project from @ngrx 2.x to 4.1.0, I encountered the error message NullInjectorError: No provider for Store! The store …

angular ngrx ngrx-store ngrx-store-4.0
Property 'take' does not exist on type 'Store<State>' ngrx/store

I'm trying to use the property 'take' when selecting a state in my feature but I'm getting the error Property …

angular ngrx ngrx-store angular5 ngrx-store-4.0
ngrx store 4 select not working

I was struggling the whole day to get my Angular app working with ngrx/store 4. After lots of unsuccessful hours, …

angular ngrx-store-4.0
How to wait for dispatch to be completed before selecting from a store. Ngrx related issue

How can I wait for a dispatch to be completed before I select from a store. Do not have any …

node.js angular ngrx ngrx-effects ngrx-store-4.0
Angular ngrx-store: How to share store among modules (main module / feature module)

I have two angular modules: main and feature: Main / root module: @NgModule({ imports: [ StoreModule.forRoot({router: routerReducer}), EffectsModule.forRoot([...]), ... ], declarations: [], ... }) …

angular typescript ngrx-store-4.0
How to get route params inside ngrx effects using ngrx-router-store?

I am having effect class where I want to load details based on router params ID @Effect() getDetails$ = this.actions$.…

angular ngrx ngrx-store ngrx-effects ngrx-store-4.0