React's New Defaults

React @ Bay Area React
Thu Nov 15 2018 ( External link )

Description: Concurrent React and React Hooks aren't simply new ways to do old things. They represent a new, stronger opinion of what apps should do by default. Let's explore the -Why- of React's new APIs!

This is a talk version of a popular blogpost I wrote: https://gist.github.com/sw-yx/17965a31413acb461c4d64028527011e

The structure:

  • Introduce the future roadmap of React
  • Talk about the importance of good defaults in Technology
  • Introduce the new defaults in Concurrent React and React Hooks
  • Introduce a demo Movie app with today's React
  • Demonstrate the drawbacks inherent in our current defaults
  • Introduce React suspense, live code into the Movie app
  • Talk about time slicing and the scheduler API
  • Introduce React Hooks, live code into the Movie app
  • Talk about Immediate mode vs Retained mode, and the "DX Mullet"
  • Conclude by contrasting the current defaults vs the better defaults introduced by the new React APIs
{
  "title": "React's New Defaults",
  "slug": "reacts-new-defaults",
  "venues": "Bay Area React",
  "topic": "React",
  "url": "https://github.com/sw-yx/talk-reacts-new-defaults",
  "video": "https://youtu.be/vhWaMPQhMLQ",
  "date": "2018-11-15T00:00:00.000Z",
  "desc": "a talk about the Why of Suspense, Time Slicing, and Hooks in React",
  "description": "Concurrent React and React Hooks aren't simply new ways to do old things. They represent a new, stronger opinion of what apps should do by default. Let's explore the -Why- of React's new APIs!",
  "pubdate": "2018-11-15T00:00:00.000Z",
  "dateString": "Thu Nov 15 2018"
}