ReactCasts #9 – Immutability in JavaScript




In this episode I’ll talk about why immutability is important and how it can benefit you. I will draw some comparisons between JavaScript (which doesn’t treat data as immutable by default) and programming languages that have immutability built in. Finally, I will show how to make immutable operations in plain Javascript.

Episode Source Code: https://github.com/cassiozen/ReactCasts/tree/master/episode9

Babel’s Object rest spread transform: https://babeljs.io/docs/plugins/transform-object-rest-spread/

Music by www.bensound.com

Original source


21 responses to “ReactCasts #9 – Immutability in JavaScript”

  1. Wow! Incredible content on React!! I wonder why are you stopping? Plz give us more high-quality products like this on styled-components, redux saga, react reselect, react-boilerplate (this boilerplate is very complex) etc. Thanx in advance.

Leave a Reply