Skip to content

Store: add migration to move users off ngrx-store-freeze #1896

Closed
@brandonroberts

Description

The majority of our users are probably using ngrx-store-freeze to guard against state mutations. We have built-in run-time checks in version 8 to guard against those. This migration would

  • Check to see if they are using ngrx-store-freeze
    • Remove ngrx-store-freeze from imports and the meta-reducers array
    • Remove ngrx-store-freeze from their package.json dependencies.
  • Update StoreModule.forRoot() to enable the strictStateImmutability and strictActionImmutability run-time checks.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions