immutable-data
Last updated
Was this helpful?
Last updated
Was this helpful?
Pros and Cons of Using Immutability With React Excellent description of what immutability is, how to use use these concepts with React, and pros and cons of managing data immutably. While the title refers to React, most of the writing just deals with plain Javascript concepts.
Javascript and Immutability A description of how to properly immutably update objects and arrays using functions like assign and slice
Immutable Javascript using ES6 and Beyond Describes ways to handle data immutably using "just" built-in Javascript functions, particularly ES6 syntax
Pure javascript immutable arrays A reminder to avoid the built-in Array functions that mutate the array, with snippets demonstrating alernative immutable functionality
Javascript Array: slice vs splice A reminder that "slice" and "splice" are different functions with different behavior
Immutable Data from Scratch Demonstrates building up an immutable update utility library similar to React's Update Addons
Immutable Objects with Object.freeze
A quick look at how to use Object.freeze
to enforce immutability.
Immutability in Javascript Describes a couple basic concepts of immutable data in Javascript, and how the Immutable.js library can be used for those concepts.
Immutable Data Structures and Javascript In-depth article covering the value of immutable data, and two common JS libraries
Immutability is Not Enough A look at how using an immutable data approach doesn't magically prevent all bugs.
Immutability in React Covers the reasons and basic concepts of using immutable data with React
Why Should I Care About Immutable Data In React? Describes the major benefits of using immutable data in React, with a demo
React: A (very brief) talk about immutability Talks about the issues with mutation, and some ways to update immutably
List of immutable libraries A follow-up to James Longster's article, with pointers to numerous immutable data libraries
Redux Ecosystem Links: Immutable Data A large list of libraries for managing immutable data in Javascript. Some of them are Redux-specific, but also includes many general-purpose immutable data libraries as well.
Painless Immutability A somewhat opinionated article from the author of a new immutable data library comparing different options, but still well-written and informative about the pros and cons of each.
Immutable.js An introduction to the API and use cases for Immutable.js