~/talk

How to Roll Your React Components Like a Good Inside-Out Sushi

Talkat ReactNext 2025 · on Monday, 2025-12-15· [react, component-design]
links:none on file
slides:none on file

Shows how a complex table with internal filtering and sorting stays encapsulated while exposing imperative commands via useImperativeHandle, using a ref API for actions like reset filters so parents or distant widgets call methods without prop drilling. Combines that with a Context provider to avoid passing refs through many components, reduces unnecessary renders, and keeps state local. Warns against huge public APIs, leaking internal state, forgetting hook dependency arrays, and recommends wrapping exposed methods with validation, side effects, and logging.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 4:05About the speaker and his work
  3. 5:55The table component problem
  4. 8:26Inside-out sushi analogy
  5. 12:45Introducing useImperativeHandler
  6. 15:16Solving prop drilling with context
  7. 18:12Common mistakes to avoid
  8. 21:27Summary and key takeaways
  9. 22:56Closing thoughts and Q&A
~/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.