Skip to content

Commit e612928

Browse files
author
Your Name
committed
NgRx - The Complete Guide
1 parent cf964ef commit e612928

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/app/app.module.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,15 @@ const routes: Routes = [
5353
MatListModule,
5454
MatToolbarModule,
5555
AuthModule.forRoot(),
56-
StoreModule.forRoot(reducers, {metaReducers}),
56+
StoreModule.forRoot(reducers, {
57+
metaReducers,
58+
runtimeChecks : {
59+
strictStateImmutability: true,
60+
strictActionImmutability: true,
61+
strictActionSerializability: true,
62+
strictStateSerializability:true
63+
}
64+
}),
5765
StoreDevtoolsModule.instrument({maxAge: 25, logOnly: environment.production}),
5866
EffectsModule.forRoot([]),
5967
StoreRouterConnectingModule.forRoot({

0 commit comments

Comments
 (0)