Pete Hunt: React - Rethinking Best Practices (updated) - JSConf.Asia 2013

Channel:JSConf · Length:40:57 · Published:2014-01-03 · Views:57905

Watch on YouTube

Summary

Pete Hunt of Facebook and Instagram presents React at JSConf.Asia 2013, explaining its design principles and why they seemed shocking at first. He argues that React separates concerns rather than technologies, and the talk also announces the React Chrome developer tools.

Why HN recommends it

HN commenters credit it with persuading them to adopt React, and cite it for the argument that HTML and JS cannot truly be separated.

Pete Hunt did a great job then, explaining how the false separation of concerns between HTML and JS really is unavoidable. — HN, 2017

Web development · Software architecture & design

Subtitles (excerpt)

[Music] [Music] so today I'm going to talk about react uh which is a a JavaScript library that I work on and we announced uh the open sourcing at JSC confus in May and we got some sarcastic reactions to it uh th this tweet was was not a compliment um so we basically challenged some kind of conventional wisdom with react so um as we talk about it I'd appreciate it if you gave it five minutes we've used this for a lot of big applications on big teams and it's worked really well for us so I'm going to focus not on kind of teaching you how to use react and build applications with it because you can go online and look at our tutorials and our videos um I'm going to instead focus on the design decisions behind um what we did why we did that um and you know even if you don't use react maybe you can can take those decisions and apply them to your own projects so react we call it a library for creating user interfaces um to get more specific that means that we render your UI and we respond to to events in the browser you can think of it as the v in MVC you might want to think of it as the controller as well depending on your definition of MVC but there's a big focus on playing nicely with your stack whatever

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
This is amazing stuff, thanks Dan! Hopefully it is the beginning of the end of refresh-driven-development. If you are a web developer (front-end/back-end), and you haven't switched to React yet, take this for a spin, and read "Facebook just taught us all how to build websites" ( [LINK] ), and watch 'React - Rethinking Best Practices' by Pete Hunt ( [VIDEO] ). The distinction between the back-end … — jasim, 2015-02
JSX & React were literally built to solve Facebook's maintainability concerns, which is one of the most complex client side web apps I can think of. JSX was a hard sell at first 4 years ago, but Pete Hunt did a great job then, explaining how the false separation of concerns between HTML and JS really is unavoidable. You end up with logic in HTML tightly coupled to your JS no matter which way you … — chrisco255, 2017-08
I've always found it weird that many people put the HTML, JS, and CSS for one component in three different files, but never thought enough about it to put it into words. Pete Hunt (one of React's maintainers) does that here: [VIDEO] React is about separating concerns, not technologies. Everything you need to know to draw an App Bar is in AppBar.jsx. You can dynamically generate the markup with Ja… — bsimpson, 2014-08
Pete Hunt addresses this specifically in this React talk starting at 3 minutes: [VIDEO] Basically, the idea is that most JS templating solutions separate technologies (HTML , JS, templating languages), but don't actually separate concerns, because the concern is simply generating and updating DOM regardless of how many technologies you use. Most JavaScript frameworks or libraries that handling ge… — baddox, 2014-07

Related videos