~/talk

Forget About Memo

Talkat React Conf 2024 · 2024-05-15..05-16· [react]
github:LaTanC
slides:none on file

React’s experimental compiler ships as babel-plugin-react-compiler on npm and drops into an Expo app (Blue Sky) with a few lines of config, working on web and mobile out of the box. It auto-memoizes JSX and hooks, removes manual useMemo when it can, and shows diagnostics via an ESLint plugin and a health-check script. Demo adds a local “dislike” button, shows the compiler skips components that break React rules but still memoizes parents, and the change proves resilient during navigation.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:29React compiler overview
  3. 3:12Installing the compiler
  4. 6:02Verifying compiler optimization
  5. 8:28Understanding compiler output
  6. 12:25Adding new code with compiler
  7. 15:42Fixing unnecessary renders
  8. 18:10Compiler rule violations
  9. 22:30Resolving compiler warnings
  10. 25:04Cross-platform benefits
  11. 25:45Adoption and developer experience
  12. 27:30Compiler rules and linting
  13. 28:56How compiler optimizes
  14. 31:44React's vision with compiler
  15. 32:35Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.