Skip to content
0:00 / 0:00

#reacthooks#react#danabramov

React Today and Tomorrow and 90% Cleaner React With Hooks

React Conf

35K subscribers • 1 video on Hallway

YouTube
  • Recommended by 4 people: 4 on Hacker News.
  • A classic. People kept recommending it from 2019 to 2025.
  • Presented by Sophie Alpert, Dan Abramov, and Ryan Florence
  • Made by the vendor. The company whose product it covers made or sponsored it.
  • May be out of date. Uploaded 8 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

1.1M views8 years ago4 recommendations

Web developmentReactVue, Svelte, Angular and others

Sophie Alpert, Dan Abramov, and Ryan Florence introduce React Hooks and explain how they solve common issues with class components.

The first three talks from React Conf 2018 by Sophie Alpert, Dan Abramov, and Ryan Florence. Learn more about Hooks at reactjs.org/hooks.

Why it's here

4 people recommend this

What people say. Recommended as the definitive introduction to React Hooks, explaining the core motivations and design decisions behind them.

kybishopon Hacker News • Recommends

On “Frustrations with React Hooks”

Have you seen the ReactConf talk on hooks? 1 It's absolutely worth the watch, even if you're somewhat familiar with hooks. They go through the pitfalls of class-based components and how hooks solve them. It more-or-less boils down to: 1. class-based components force your lifecycle logic to live in disparate locations. 2. Class-based hooks are obtuse with hidden gotchas whereas pure functions tell you exactly what they're doing. 3. A whole class of unergenomic solutions disappears when you use hooks. 1 link to this video

jasongion Hacker News • Recommends

On “React I love you, but you're bringing me down”

You aren’t the only person, I’ve certainly heard it before. But I’m yet to hear a convincing rebuttal to Mixins Considered Harmful 1, the hooks talk 2 or the Motivation section 3 on the announcement. The arguments I’ve heard is that it is “cleaner”, “more understandable” or the OO style is preferred. Some developers feel uncomfortable with hook magic because it introduces a more niche programming concept than OO (e.g stateful functions). I don’t find these arguments compelling. What the React team managed to do was reproduce the same functionality as class components while decreasing the footguns associated with them. 1. link 2. link to this video 3. link

AndrewOMartinon Hacker News • Recommends

On “Ask HN: Learn React or Vue?”

Just watch the video from ReactConf 2018 where hooks are introduced (by the dude who built them). You can play along at home quite easily by getting started either with "npx create-react-app myApp" or a simple html file with one script tag to download react from a CDN and one script tag for your code. Talk: link to this video By the end of the talk you'll probably be leaning towards "this sounds cool, I'd like to play around with it" or "that sounds like cursed incantations for the damned".

jfciscoon Hacker News • Recommends

On “Show HN: Nue – Apps lighter than a React button”

Hooks require less boilerplate to set up and reuse stateful logic across components If you havent watched it yet, the talk that introduced hooks explains much better than I can: link to this video

u/pirix-ghin r/typescript • Mentions

On “Trying to dig more deep into Interface”

…t out properly): **Pure data objects**: These objects don't have methods **Pure behavior objects**: These objects only have methods that receive pure data objects **Which means that you have full control over the testing, your i/o and your state!** **+1point** If you're not convinced, the amazing React team explains why classes were dropped [video…

azimuth11on Hacker News • Mentions

On “Angular v8.0”

While you wouldn't want to leave "console.log" in your code in production, you can use them in function components just like a classes' render methods. A better example (from the video "React Today and Tomorrow and 90% Cleaner React With Hooks" from October1) is something along the lines of updating document.title = `${some} Page` or possibly calling an API. 1: link to this video