Completed
Embracing Immutability enables JavaScript's future.
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Immutable Data and React - Techniques and Benefits
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Persistent Immutable Data Structures
- 3 Structural Sharing
- 4 Directed Acyclic Graph
- 5 reTrieve
- 6 Index Trie
- 7 Implementation as Trie, Interface as Lists and Maps!
- 8 The Hash Array Mapped Trie (HAMT) is based on the simple notion of hashing a key and storing the key in a trie based on this hash value.
- 9 Simplicity is hard work. But there's a huge payoff. The person who has a genuinely simpler system is going to be able to affect the greatest change with the least work. He's going to kick your ass.
- 10 What problems does this solve anyway?
- 11 Concurrency, No locks!
- 12 Multithreading: There be dragons.
- 13 JavaScript is in trouble.
- 14 Embracing Immutability enables JavaScript's future.
- 15 Mutable objects complect Time and Value
- 16 var identity; identity = "value"; identity = "next value"
- 17 Immutable data removes complexity.
- 18 The Many Mutators Problem.
- 19 What changed?
- 20 Dirty bits
- 21 UI Framework coupling model class to view class.
- 22 Immutable change tracking
- 23 Memoization
- 24 shouldComponentUpdate()
- 25 Immutable Data is Faster
- 26 Reconciliation is pretty damn fast.
- 27 Reconciliation is slower than persistent data.
- 28 Flux stores contain mutable data.
- 29 Reconciliation is pretty damn fast?
- 30 Flux stores with immutable data!
- 31 Flux store is an identity New immutable values as time passes
- 32 Bonus: Undo is easy!
- 33 No more mutable state stockholm syndrome.
- 34 Solve problems by removing complexity.