Hacker Way: Rethinking Web App Development at Facebook
Channel:Meta Developers · Length:44:36 · Published:2014-05-05 · Views:899978
Summary
Facebook engineers explain why they abandoned the traditional MVC paradigm for a more functional architecture, introducing Flux and React. They use the unread-message-count bug as a case study of the problems of bidirectional data flow at scale.
Why HN recommends it
HN points to it as the original talk that explains the motivation behind React, Flux and Redux, and that sold some commenters on React.
these talks, they are the ones that sold me on React — HN, 2023
Functional programming · Web development · Software architecture & design
Subtitles (excerpt)
Hello everybody and welcome to F8. Okay, so this afternoon's track here in the blue room is the hackaway track. So this is a little bit different to what you heard this morning, a little different to what's happening in some of the other tracks, but we hope this session is going to give you a little bit of insight into what we do at Facebook ourselves to build our own apps and to launch them to the world. So one of the things I love about Facebook engineering and the teams here is that they love to tell stories. stories about our culture, how we like to move fast and break things or ship stable infrastructure and how we ship love to our users around the world. We also like to tell stories about the challenges that we constantly face as an organization, as a company. We like to talk about those challenges brought on by moving at the speed we move and at the scale of our business. But more importantly, we like to talk about the solutions that we've come up with to those challenges, whether they be innovative ideas, software libraries, tools, processes. and we like to talk about how we then go on and share those with the world through our open source program and through forums like this
On Hacker News
I'll try one last time: > Sorry none of this makes any sense to me. If you're not familiar with the MVC variants (MVVM, MVP, MVI, MOVE)[0][1] we should start there. Next you should read through some common mistakes of Backbone.js like applications [LINK] and some criticisms of MVC on HackerNews in 2012[0]. Finally if you haven't before these talks, they are the ones that sold me on React: - [LINK… — yazaddaruvala, 2023-06
If you have state changes within your render cycle, then you can't write pure functions anymore, you have a stateful class. And if you have a stateful class, then React can't control when you render, because it can't know when you update a variable. So the onus is on you to decide when your component needs to re-render. This is extremely easy to screw up. You will end up in scenarios where the UI… — phailhaus, 2024-12
Exactly, this is the same as saying Redux has two methodologies, the "setter system" and the "event system"; since it wasn't that well documented initially doesn't mean that the setter way was ever recommended (it's not). In fact if you watched the Flux youtube talk, something highly recommended to learn the philosophy behind Redux, it was pretty clear. Edit: here's the video (from 10:20) [VIDEO] — franciscop, 2023-05
Redux is an implementation of Flux. I don't use Redux, but the original Facebook engineering announcement videos helped me understand React and Flux tremendously: [VIDEO] If you're talking about Redux specifically -- I agree with you. I think it's ugly and confusing. — danesparza, 2017-07
Video seems to start discussion of Flux just after the 10 minute mark. Direct Link: [VIDEO] EDIT: So far, the video is much more helpful to me in terms of bringing the concepts of Flux to life. Jing does a terrific job explaining in my opinion. — rattray, 2014-05
Related videos
- Net Neutrality: Last Week Tonight with John Oliver (HBO) · LastWeekTonight · 13:18
- I Was SCARED To Say This To NASA... (But I said it anyway) - Smarter Every Day 293 · SmarterEveryDay · 1:05:19
- Ladyada interview with Paul Horowitz - The Art of Electronics @adafruit @electronicsbook · Adafruit Industries · 48:32
- Blender 3.0 Beginner Tutorial - Part 1 · Blender Guru · 16:42
- Pete Hunt: React - Rethinking Best Practices (updated) - JSConf.Asia 2013 · JSConf · 40:57
- Pete Hunt - The Secrets of React's Virtual DOM (FutureJS 2014) · Codegram · 35:25
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- 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
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43