Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source) Learn more →
Immer Alternatives
Similar projects and alternatives to Immer
-
immutable-js
Immutable persistent data collections for Javascript which increase efficiency and simplicity.
-
redux-toolkit
The official, opinionated, batteries-included toolset for efficient Redux development
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
react-query
🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
-
-
immutability-helper
mutate a copy of data without changing the original source
-
Recoil
Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
-
-
Klotho
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
-
-
-
mori
ClojureScript's persistent data structures and supporting API from the comfort of vanilla JavaScript
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
-
-
TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
-
-
-
-
proposal-record-tuple
ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!
-
material-ui
MUI Core: Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
Immer reviews and mentions
-
Using ES6 Proxy for Cross-cut Concerns - A Real-world Example
ImmerJS
-
Scala Resurrection
An other deficiency in the Scala collections is that there is very minimal support for mutably building up an immutable collection. Clojure has so-called "transient" collections. These allow you to morph a persistent (immutable) collection into a mutable one, which you can then mutate, and it will be smart enough to share structure of the original, until it is forced to copy sub-trees. When you're done mutating it, you then transform it back into a persistent collection and it freezes the structure. JavaScript also has the immer library which provides the same functionality.
-
Functional immutable game state
The Immutable.js README has a much more complete description of immutability and why you might want to use the library. Also worth mentioning that Immer is an alternative which is a bit easier to get started with.
-
A cure for React useState hell?
One very nifty library for ensuring immutable data, while having an elegant mutable DX, is Immer.
-
"console.log" Sometimes Print Wrong Data
Examples: immutable-js Immer
-
State management with Immer
One thing that I noticed is the recommendation of using the Immer library throughout the docs. From the looks of it, the Immer library is not something that is maintained by the reactjs team.
-
Immutable Collections should be Your Default
And from an ergonomics perspective, immer which lets you do immutable updates via a mutation-based API is way nicer.
-
How to migrate Zustand from Version 3 to 4
Immer is a library that allows you to work with immutable state data in a more convenient way. Before we had to explicitly set the type like this and the function to use it:
-
immer: Postmodern immutable and persistent data structures for C++
The paper on the site is from 2017. When I hear immer, i think of immer-js, a persistent & immutable library alao from 2017. Any relationship? https://immerjs.github.io/immer/
Side note, I thought persistent was going to mean backed onto storage & the program could close & restart where it was. Just meams that previous versions of the data structs remaim available.
-
A note from our sponsor - Klotho
klo.dev | 29 Jan 2023
Stats
immerjs/immer is an open source project licensed under MIT License which is an OSI approved license.