Immer Immer

Immer

Immutability Library


Description

Immutability Library

Overview

Immer (German for “always”) is a lightweight package that simplifies working with immutable state by employing a copy‑on‑write strategy.

How It Works

  1. Draft State – You apply all changes to a temporary draftState, which acts as a proxy for the current state.
  2. Mutation – While editing, you treat the draft like ordinary mutable data.
  3. Final State – Once mutations are finished, Immer generates a new nextState derived from the modifications made to the draft.

This approach allows you to modify your data directly while preserving all the advantages of immutability.


Creator

Michel Weststrate
@mweststrate

Related Projects

RNRepo

RNRepo

React Native Pre-Built Artifacts

ReactUseKit

ReactUseKit

Collection of React Hooks & Helpers

React Native Builder Bob

React Native Builder Bob

Collection of Tools to Scaffold React Native Libraries

React Simplikit

React Simplikit

React Utility Library

Intlayer

Intlayer

Internationalization & Content Management Solution

React Native Legal

Generate License Acknowledgements