~/talk

Demystifying Higher order components and Render Props

Talkat ReactFoo Hyderabad 2018 · on Saturday, 2018-03-17· [react, frontend-architecture]
slides:none on file

Compares concrete patterns and shows code: counter implemented as HOC and as render prop so you see the actual APIs and where state lives, uses Redux connect and store instance examples to demonstrate wrapping vs rendering, shows how refs and wrapper props break with ref and prop name collisions, points out debugging costs when wrapper components hide names, and runs the demo so the counter and examples visibly work while highlighting when each pattern causes extra indirection or prop plumbing.

AI-written summary · about

  1. 0:00Reusable components intro
  2. 1:57Higher-order components
  3. 3:02Render props
  4. 9:16HOCs and render props use cases
  5. 13:21HOCs vs render props
  6. 16:00When to choose render props
  7. 18:36Real-world demos
  8. 21:24Q&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.