React.js Conf 2015 - Immutable Data and React

Channel:Meta Developers · Length:31:11 · Published:2015-02-03 · Views:158637

Watch on YouTube

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