ngrx-store-freeze is a meta-reducer that prevents state from being mutated
- Recursively freezes the current state, the dispatched action payload if provided and the new state.
- When mutation occurs, an exception will be thrown.
- Should be used only in development to ensure that the state remains immutable.
npm i --save-dev ngrx-store-freeze
yarn add ngrx-store-freeze --dev
;;; // Angular CLI environment;