React.js Conf 2015 - Immutable Data and React
Channel:Meta Developers · Length:31:11 · Published:2015-02-03 · Views:158637
Summary
Lee Byron of Facebook explains how persistent immutable data structures work and how to use them in React apps with Immutable.js. He covers memoization benefits and avoiding coupling through shared mutable state.
Why HN recommends it
HN points to it as a clear explanation of immutable data structures such as tries, and of the case for immutability with React and Flux.
there's a great conference talk on this topic by Lee Byron from Facebook — HN, 2017
Functional programming · Web development · Algorithms & data structures
Subtitles (excerpt)
welcome back so the great thing with react is that it's not just a view layer but it makes everyone reink how you build applications and one of the fundamental things that is now being pushed was so before it was like mutability and object that observe and all of this and we now trying to get a sense that immutability is actually a very good Paradigm so Leon is going to talk about it you guys hear me okay I am so psyched to be here I I can't even express how excited I am um so my name is Lee Byron I work at Facebook I make things here including react graph cu well and immutable um and the reason I'm so excited is like the stuff I've gotten to work on over the last three years it's finally you know you guys get to see it so pumped so um immutablejs I I know some of you know about this library but for those who don't here's the URL where you can go check this out um this is a library that I open sourced a couple months ago and uh it's a it's a library that has a bunch of immutable collections for JavaScript like lists and maps and and it's a young project there's still a lot of work to do but I've been super thrilled with your response like the community's response to this um originally it was like my academic project I thought it was
On Hacker News
Lee Byron on Immutable/React/Flux: [VIDEO] “I only have a minute left, which is more than enough time to build the undo stack” — jamesgpearce, 2022-06
I found the explanation from the Immutable JS presentation easier to understand when talking about Immutable data structures [0] [0]: [VIDEO] — icc97, 2017-12
For anyone interested, there's a great conference talk on this topic by Lee Byron from Facebook: [VIDEO] — clay_to_n, 2017-05
@diegorbaquero you should watch that [VIDEO] . The author spoke about performance and immutability-data structures like Directional Acyclic Graphs and Trie. — victorcase, 2016-11
IMHO, one-way data flow + immutability competes with (beats ?) observed mutations in many use cases. See [VIDEO] , and more specifically [VIDEO] — netgusto, 2015-03
Related videos
- Let's teach for mastery -- not test scores | Sal Khan · TED · 10:50
- Monad - FunFunFunction #21 · Fun Fun Function · 11:25
- Douglas Crockford: Monads and Gonads (YUIConf Evening Keynote) · YUI Library · 54:26
- Farbrausch - fr-041: debris. [HD] · kb · 7:15
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55