diff --git a/ui-ngx/src/app/core/core.module.ts b/ui-ngx/src/app/core/core.module.ts index 8e6f550172..482a4ee438 100644 --- a/ui-ngx/src/app/core/core.module.ts +++ b/ui-ngx/src/app/core/core.module.ts @@ -72,7 +72,15 @@ export function HttpLoaderFactory(http: HttpClient) { HotkeyModule.forRoot(), // ngrx - StoreModule.forRoot(reducers, { metaReducers }), + StoreModule.forRoot(reducers, + { metaReducers, + runtimeChecks: { + strictStateImmutability: true, + strictActionImmutability: true, + strictStateSerializability: true, + strictActionSerializability: true + }} + ), EffectsModule.forRoot(effects), env.production ? []