~/talk

Immutability is Changing: From Immutable.js to Immer

Talkat ForwardJS 2019 · on Thursday, 2019-01-24· [javascript, frontend-architecture]
slides:none on file

Compares Immutable.js (2015) and Immer (2018) and shows how Immer uses ES6 Proxies to give immutable semantics by mutating drafts and returning structural-shared copies. Claims: persistent trie-backed structures in Immutable.js give fast O(1) lookups and structural sharing but impose ~300 APIs and interoperability costs; Immer exposes one produce API, keeps native JS objects, matches Immutable.js performance while being about a quarter of the size, supports patching and currying, and is driving fast adoption since late 2018.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Why Immutability
  3. 5:14The API
  4. 10:45proxies
  5. 15:02why immutability is changing
  6. 15:58adoption curve
  7. 16:33API design lessons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.