Pete Hunt: React: Rethinking best practices -- JSConf EU
Why Hacker News recommends it
HN calls it the famous talk for understanding why React rejected separation of concerns by technology and for newcomers puzzled by JSX.
What it is
Pete Hunt of Facebook and Instagram introduces React at JSConf EU 2013 and explains its design principles. He argues that separating templates from logic only separates technologies, not concerns, and makes the case for components.
Recommended by 9 HN commenters across 9 different months, 2014 to 2025.
What Hacker News said
Strong rec EdwardMSmith · 2018-02 · on “How and why we moved to Vue.js”
If you’re not sure of the “why” of react, I’ve found that Pete Hunt’s talk “Rethinking Best Practices” gives a great overview of the reasoning behind react. Especially from about 15:15. [this video]
Strong rec insin · 2020-05 · on “What if we'd had better HTML-in-JS syntax all along?”
How far back can we go? insin/DOMBuilder was initially based on a 2006 library of the same - but differently-cased - name by Dan Webb ( [LINK] ) and the earliest variant I can recall was Mochikit.DOM ( [LINK] ) By the end of DOMBuilder's life it could generate DOM or HTML from the same code and I'd tried unsuccessfully to implement a way to rehydrate HTML by hooking up events using the same code on the client. Not long after, I happened to be in the audience for Pete Hunt's React: Rethinking best practices talk at JSConf EU ( [this video] ) and I was totally floored; they'd solved everything I had been trying to do with UI as code and much more, and JSX was the icing on the cake, as using nested
Recommends versusdotcom · 2014-03 · on “Angular 2.0”
Totally agree and also recommend to look at React. While Angular is just way too much of everything React is pretty much thought-out: Here a quick comparison of both: [LINK] Here a pretty good video of React's founder pointing on some weakness of Angular: [this video]
Recommends munro · 2014-10 · on “Mistakes AngularJS Developers Make”
#1 -- Separating by concerns is much preferable to me, organizing by controllers/directives/services/... is a separation of technology, not the high level concept. There's a great React video on this concept, as well as some other good stuff! [1] [1] [this video]
Recommends paulshen · 2014-12 · on “Build with React – ReactJS articles and tutorials”
You're definitely not the only one. [LINK] as well as other HN comment threads. Check out [LINK] or this JSConf talk [this video]
Recommends ChrisGaudreau · 2015-05 · on “How I learned to stop worrying and love React”
Separation of concerns and separation of technologies are a different thing. It would appear you haven't done your research. See Pete Hunt's famous talk: [this video]
Recommends firasd · 2016-05 · on “Thinking in React”
This is a very useful walkthrough. Some links for those who are also interested in "Thinking in React" in a more conceptual way (#4 is a presentation from the same person who wrote the walkthrough): 1) React — Basic Theoretical Concepts: “A description of the conceptual model of React without implementation burden.” [LINK] 2) Pure UI: “A lot has been written about the merits of React as a framework. Today I’m compelled to write about the benefits of a programming model it enables and its implications to the design and creation workflow." [LINK] 3) Removing User Interface Complexity, or Why React is Awesome: “I’m mostly concerned with the core problems of data binding and componentizing UIs.
Recommends vmasto · 2017-04 · on “An experienced Javascript developer’s account of learning React”
I was very intrigued by the title: Things nobody will tell you about React.js Immediately had high hopes that someone is going to try and give a well researched, novel critique that maybe can spur out some constructive conversation. And then, sadly, the author goes on to write exactly what countless other articles have already covered and discussed to the death for years now. "HTML in JS", "JSX is bad", "Redux is complicated", "The tooling is too much". And then here we are again in the front page of HN for some reason. To me, this is, again, an extremely common case of "trying to learn everything at once". Still, a couple of points I'd like to try to mention: JSX: Has been argued about so m