👨‍💻
Community Resources
  • Welcome!!
  • Blockchain Resources
  • Web Development
  • A to Z Resources
  • Best GitHub Repos
  • MEAN & MERN Stack
  • React, Redux and ES6
    • basic-concepts
    • boilerplates-and-starter-kits
    • community-resources
    • es6-features
    • flux-tutorials
    • functional-programming
    • git-resources
    • immutable-data
    • javascript-resources
    • node-js-and-npm
    • pros-cons-discussion
    • react-performance
    • react-redux-architecture
    • react-redux-testing
    • react-styling
    • react-tutorials
    • react-vs-backbone
    • redux-side-effects
    • redux-techniques
    • redux-tutorials
    • thinking-in-react-and-flux
    • tips-and-best-practices
    • using-react-with-es6
    • webpack-advanced-techniques
    • webpack-tutorials
  • NodeJS
  • React Native
  • Mixed PDFs
  • AI/ML/DL
Powered by GitBook
On this page
  • Basic Concepts
  • Immutability and React
  • Immutable Data Libraries

Was this helpful?

  1. React, Redux and ES6

immutable-data

Previousgit-resourcesNextjavascript-resources

Last updated 4 years ago

Was this helpful?

Basic Concepts

  • 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 and React

  • 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

Immutable Data Libraries

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

http://reactkungfu.com/2015/08/pros-and-cons-of-using-immutability-with-react-js/
http://t4d.io/javascript-and-immutability/
http://wecodetheweb.com/2016/02/12/immutable-javascript-using-es6-and-beyond/
http://vincent.billey.me/pure-javascript-immutable-array
https://ariya.io/2014/02/javascript-array-slice-vs-splice
https://ryanfunduk.com/articles/immutable-data-from-scratch/
http://adripofjavascript.com/blog/drips/immutable-objects-with-object-freeze.html
http://www.sitepoint.com/immutability-javascript/
http://jlongster.com/Using-Immutable-Data-Structures-in-JavaScript
https://codewords.recurse.com/issues/six/immutability-is-not-enough
http://www.sitepoint.com/immutability-react/
http://www.bennadel.com/blog/2903-why-should-i-care-about-immutable-data-in-reactjs.htm
https://medium.com/pro-react/a-brief-talk-about-immutability-and-react-s-helpers-70919ab8ae7c
https://gist.github.com/jlongster/bce43d9be633da55053f
https://github.com/markerikson/redux-ecosystem-links/blob/master/immutable-data.md
https://guigrpa.github.io/2016/06/16/painless-immutability/
http://seanamarasinghe.com/developer/immutable-js/