made with react.js

Immer

Immutability Library

Visit Site

Description

Immutability Library

"Immer (German for: always) is a tiny package that allows you to work with immutable state in a more convenient way. It is based on the copy-on-write mechanism.

The basic idea is that you will apply all your changes to a temporarily draftState, which is a proxy of the currentState. Once all your mutations are completed, Immer will produce the nextState based on the mutations to the draft state. This means that you can interact with your data by simply modifying it while keeping all the benefits of immutable data."


Creator

Michel Weststrate
@mweststrate


Social Media Links

Evento Component Events in React
icon-eye-dark Created with Sketch. 1.803
React Open Doodles Utility to use Open Doodle Illustrations
icon-eye-dark Created with Sketch. 814
Sentry for React React Application Monitoring
💙 Sponsored by Friends
React Figma React Renderer for Figma
icon-eye-dark Created with Sketch. 5.033
NativeWind Utility-first Styling System for React Native
icon-eye-dark Created with Sketch. 1.170
React Error Boundary Reusable Error Boundary Component
icon-eye-dark Created with Sketch. 261