ngrx-store-freeze

  • Version 0.2.4
  • Published
  • 10.3 kB
  • 1 dependency
  • MIT license

Install

npm i ngrx-store-freeze
yarn add ngrx-store-freeze
pnpm add ngrx-store-freeze

Overview

@ngrx/store meta reducer that prevents state from being mutated.

Index

Functions

Functions

function storeFreeze

storeFreeze: <T, V extends Action = Action>(
reducer: ActionReducer<T, V>
) => ActionReducer<T, V>;
  • Meta-reducer that prevents state from being mutated anywhere in the app.

Package Files (2)

Dependencies (1)

Dev Dependencies (11)

Peer Dependencies (1)

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/ngrx-store-freeze.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/ngrx-store-freeze)
  • HTML
    <a href="https://www.jsdocs.io/package/ngrx-store-freeze"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>