~/talk

Render Prop by Any Other Name

Talkat Framework Summit 2018 · 2018-10-02..10-03· [react]
slides:none on file

Three component patterns are implemented across React Vue and Angular using an accordion demo with a theme toggle: render props (scope slots in Vue) to control markup, prop getters to forward event handlers, state reducers to customize open/close logic (single-open and prevent-close reducers plus a combined reducer), and a simple Angular ngX data provider for context-style theming. Code examples show each pattern plugged into the same accordion without API changes, the reducers compose and the provider works, reducing duplication and preserving original internals.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:24Why framework arguments matter
  3. 3:13The screwdriver analogy
  4. 6:24Render props overview
  5. 10:39Scoped slots in Vue
  6. 11:45Prop getters explained
  7. 14:17State reducers in React
  8. 19:49Benefits of flexible components
  9. 20:36Data providers pattern
  10. 25:29Key takeaways and conclusion
~/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.