~/talk

Render Props are Not Dead

Talkat ReactEurope 2020 · 2020-05-14..05-15· [react]
slides:none on file

Argues that render props still win when the goal is injecting state inside JSX without forcing a whole-component rerender, shows converting HOC -> render props -> custom hook and back, and demonstrates a real failure mode: rapid updates trigger the triangle of death against a slow third-party component. Provides concrete code patterns, explains when to return objects vs tuples from hooks, and shows the render-prop wrapper that keeps heavy children from re-rendering while the state injection continues to work.

AI-written summary · about

  1. 0:00Intro
  2. 2:28Mixins
  3. 3:02Hawks
  4. 6:28Render Prompts
  5. 9:56How do we know
  6. 13:28Hooks
  7. 16:55Function Component
  8. 17:35Recap
  9. 18:44Minihooks
  10. 21:50Conclusion
  11. 22:27Thank you
~/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.