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
- Draft State – You apply all changes to a temporary
draftState, which acts as a proxy for the current state. - Mutation – While editing, you treat the draft like ordinary mutable data.
- Final State – Once mutations are finished, Immer generates a new
nextStatederived 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
React Native Pre-Built Artifacts
ReactUseKit
Collection of React Hooks & Helpers
React Native Builder Bob
Collection of Tools to Scaffold React Native Libraries
React Simplikit
React Utility Library
Intlayer
Internationalization & Content Management Solution
React Native Legal
Generate License Acknowledgements