Skip to content

Instantly share code, notes, and snippets.

Last active January 13, 2021 10:15
What would you like to do?
Persistent storage of your store - feature module
import { NgModule } from '@angular/core';
import { StoreModule } from '@ngrx/store';
import { EffectsModule } from '@ngrx/effects';
import * as fromFeature from './store';
imports: [
StoreModule.forFeature(fromFeature.FEATURE_NAME, fromFeature.reducers, {
metaReducers: fromFeature.metaReducers,
export class SettingsModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment