Production mode

Flag can be passed to StoreModule.forRoot method. When production is enabled:

  • All manipulations with state from window object are not allowed

  • State is disconnected from window object

  • Warnings are disabled

However if you want to track state manipulations from code you can inject StateHistory service

Last updated