|11 days ago||7 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Yet another introduction to Functional Programming
3 projects | dev.to | 12 Jul 2023
Imutability, react and typescrip: how to do it the clean way?
2 projects | /r/reactjs | 8 Apr 2023
Check out Object.freeze. There's also Immutable.js for working with immutable data.
How To Scale Your React Applications
5 projects | dev.to | 7 Apr 2023
Use immutability to manage state updates When updating state in your React application, it's important to ensure that you are not mutating the original state object. Instead, you should create a new copy of the state object with the updated values. Immutability makes it easier to manage state updates and ensures that the updates are performed in a predictable and safe manner. Libraries like Immutable.js provide a set of functions that simplify working with immutable data in React applications.
Functional immutable game state
4 projects | dev.to | 16 Jan 2023
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.
"console.log" Sometimes Print Wrong Data
2 projects | dev.to | 5 Jan 2023
Examples: immutable-js Immer
Immutable Collections should be Your Default
2 projects | /r/programming | 28 Oct 2022
I can't speak to C# and Java, but the suggestion in this post: ImmutableJS already uses Persistent data structures. (It's the second sentence of their introduction)
immutable-js VS riux - a user suggested alternative
2 projects | 12 Aug 2022
Twitter Clone Part 3: Adding Tweet Reactions and Showing Notifications
3 projects | dev.to | 29 Jun 2022
feed.feedManager.state.activities is an immutable Map (created with Immutabe.js), so you get the activity object using getIn and toJS methods.
How do I handle objects with shared references in React?
2 projects | /r/reactjs | 1 Jun 2022
You could create explicitly immutable references and state by using a tool like Immer.js or Immutable.js and do something like your example using their API.
Show HN: Cami.js – A No Build, Web Component Based Reactive Framework
6 projects | news.ycombinator.com | 4 Nov 2023
It looks like it’s mutating, but both the reducers and update() uses immer* under the hood, so we still respect immutability under the hood.
Cami supports redux devtools so you can use that for time-travel debugging too!
Why do we need modules at all?
3 projects | news.ycombinator.com | 24 Sep 2023
Making Sense of React Server Components
7 projects | news.ycombinator.com | 6 Sep 2023
I heard that immutability libraries like immer.js  help with this. Anyone go this way and had good success? Is this 'the way'?
The sword refers to immer, the faster and stronger immutable data js tool limu stable version released!
6 projects | dev.to | 18 Aug 2023
But is immer really the ultimate answer? The performance problem of immer is more prominent in large arrays and deep-level object scenarios. See this issue description, many authors in the community began to try to make breakthroughs, and noticed that structura and mutative, I found that it is indeed many times faster than immer as they said, but it still fails to solve the problem of both fast speed and good development experience. I will analyze the two issues in detail below.
7 projects | news.ycombinator.com | 4 Aug 2023
I like immer for this kind of thing: https://github.com/immerjs/immer
It gives you immutable updates without getting bogged down in FP abstractions.
Is there a better way to do read-only types
3 projects | /r/typescript | 22 Jun 2023
If you're trying to make things actually immutable, Object.freeze and deep copies can clutter things up pretty good, have you considered using something like immer? (https://immerjs.github.io/immer/)
5 React Libraries to Level Up your Projects in 2023
8 projects | dev.to | 19 Jun 2023
If you want to set up from Context, Zustand is your best bet. It offers an extremely simple API that lets you create a store with values and functions. Then, you can access that store from anywhere in your application to read and write values. Reactivity included! If you want to store nested object data in your store, consider using Immer alongside Zustand to easily change nested state.
What are some of the best libraries you cannot work without?
9 projects | /r/reactjs | 8 Jun 2023
How to synchronize access to application data in multithreaded asio?
3 projects | /r/cpp | 8 Jun 2023
Immer 10.0: faster update perf, smaller bundle size, modern modules!
2 projects | /r/reactjs | 17 Apr 2023
What are some alternatives?
immutability-helper - mutate a copy of data without changing the original source
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
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.
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]
zustand - 🐻 Bear necessities for state management in React
valtio - 💊 Valtio makes proxy-state simple for React and Vanilla