immutable-js

Immutable persistent data collections for Javascript which increase efficiency and simplicity. (by immutable-js)

Immutable-js Alternatives

Similar projects and alternatives to immutable-js

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better immutable-js alternative or higher similarity.

Suggest an alternative to immutable-js

Reviews and mentions

Posts with mentions or reviews of immutable-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-02.
  • Immutable.js is not dead!
    7 projects | reddit.com/r/javascript | 2 Dec 2021
    They were able to release version 4.0.0 in October https://github.com/immutable-js/immutable-js/releases/tag/v4.0.0
    7 projects | reddit.com/r/javascript | 2 Dec 2021
  • Immutable.js Is Not Dead
    1 project | news.ycombinator.com | 2 Dec 2021
  • Working with immutable arrays and objects in Javascript
    1 project | dev.to | 1 Nov 2021
    One last tip, you can also use the Immutable.js library to add an easier way to work with the immutability of non-primitive data types in Javascript.
  • Forever Functional: Immutable objects for safer state
    4 projects | dev.to | 13 Oct 2021
    Here we'll study the varied ways that JavaScript provides, such as object freezing and cloning, so we can get a basic understanding of what a full immutability solution needs. We won't try, however, to achieve 100% production-ready code, possibly dealing with getters, setters, private attributes, and more; for this I would rather suggest looking at available libraries such as Immutable, Immer, Seamless-immutable, and others.
  • That's a great suggestion.tr
    3 projects | reddit.com/r/ProgrammerHumor | 30 Jul 2021
    On the second point, I would argue that it's a good thing you get to experience different approaches offered by other developers. In my experience, every library, new or old, has at least one or a few good things going for it, so you get to accumulate a lot of knowledge (which would be beneficial to your career). For example, I never would have known what Structural Sharing is had it not been for ImmutableJS - a library another developer introduced to me when we were working together.
  • Go vs TS
    1 project | reddit.com/r/typescript | 30 Jun 2021
    Immutability. In concurrent programming, immutable is an important concept. Making sure that a value won't be mutated by another concurrent routine can save my sanity, even on a single-threaded runtime like V8. Golang provides no standard way to control immutability. It doesn't even have a readonly limitation like const in C. If you want to build your own immutable data structure, the infamous Golang's weakness of lacking generics makes it hard to do. In TypeScript, unexpected mutation can be prevented by using readonly at compile time. You can also use Object.freeze to ensure immutable at runtime. Finally, you can use a powerful immutable data structure library: immutable.js.
  • Which is the best functional programming library for typescript?
    4 projects | reddit.com/r/typescript | 18 Jun 2021
    It's also been mostly unmaintained, but recently it's getting restructured. See this github thread and comment.
  • Server-side Redux. Part I. The Redux.
    3 projects | dev.to | 13 May 2021
    To keep things error-prone we'll need something that will enforce immutability and manage memory efficiently. The immutable.js does exactly that. It is a library with a collection of immutable data structures. Immutable JS uses persistent vectors to perform insertions, merges, etc. It removes necessity in copying and caching of the data.
  • Have been using Vue.js for a while but decided to learn React because of how popular and demanded it is. Not trying to bash React but I can't get over the funkyness of JSX and a couple of other aspects. Everything seems more complex and cumbersome than how it's done in Vue.js. Am I just biased?
    6 projects | reddit.com/r/webdev | 18 Apr 2021
    Checkout immutability.js section: The case for Immutability https://immutable-js.github.io/immutable-js/
  • JavaScript library to efficiently mutate data without changing the original source
    4 projects | reddit.com/r/javascript | 17 Apr 2021
    However, the way Immer uses that phrase seems to be different than how Immutable.js uses that phrase: https://immutable-js.github.io/immutable-js/ , https://medium.com/@dtinth/immutable-js-persistent-data-structures-and-structural-sharing-6d163fbd73d2. It specifically points to the use of specialized data structures like "hash mapped tries" as a mechanism to reuse existing references. Immer definitely doesn't use any of those.
  • Software Compass
    1 project | reddit.com/r/webdev | 12 Apr 2021
    Even Immutable.js, which was written for people trying to push JS in a more functional direction, has classes written this way, so to me it doesn't seem like the concept of instance methods is ever going anywhere, even if mutability and inheritance completely fall out of favor. If you were to convert all instance methods of an API to standalone functions, you'd lose a lot of nice Intellisense capability.
  • Beginner's Thread / Easy Questions (February 2021)
    4 projects | reddit.com/r/reactjs | 1 Feb 2021
    If you need to improve performance, immutable-js may help (or any library supporting persistent immutable data structures). "Persistent" here doesn't refer to "persisting across sessions", it's not like cookies/localstorage - it refers to "when you create a new version of the data structure, the old still exists, and they can share data". This can allow "point" updates in very wide structures to be fast, where they'll be slow in the manual "immutability update patterns" on things like arrays with 1,000,000 items, since the entire array must be copied. A persistent map will instead only require performing about 20 or so copies of small parts of an internal tree.
  • Strongly Typed Error Handling in TypeScript
    3 projects | dev.to | 16 Jan 2021
    Let’s consider an example using some utilities from AndcultureCode.JavaScript.Core and AndcultureCode.JavaScript.React, which wrap up API responses and errors in ResultRecord and ResultErrorRecord Immutable.js Record types.

Stats

Basic immutable-js repo stats
14
31,612
8.2
4 days ago

immutable-js/immutable-js is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote TypeScript jobs at our new job board 99remotejobs.com. There are 12 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.