Immutable.js – permanent protection from change
Immutable.js, with its home page at http://facebook.github.io/immutable-js and a tagline of Immutable collections for JavaScript, was originally named for persistence. Then it went through a name change to something that would register more quickly by referring to the immutable. Immutable.js plugs a gap in JavaScript as a functional language and offers significantly more functional-friendly data structures for collections (which is the point for which it was created).
It offers data structures for collections that are immutable. They support the creation of modified copies gracefully enough, but it is always the copy that is changed, never the original. Though this is more of a minor point, it greatly ...
Get React: Building Modern Web Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.