Higher Order Components
summary
Argues that using the component keyword plus the hash helper lets Ember components behave like higher‑order functions by yielding presentational components from a controller component, keeps logic and markup separate, and preserves blocks and defaults. Demonstrates building an X toggle then composing a dropdown and calendar to merge APIs into a working power date picker on GitHub, shows closures and yielded components as the actual tools that make composition practical and reusable.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 1:30Story
- 2:30Higher Order Functions
- 4:24Component Returns
- 5:48Deal keyword
- 7:03Cluster Creator keyword
- 8:13Hash helper
- 9:55API
- 11:43Check
- 12:25Safe
- 18:54Dans Blog
- 19:32Presentational Container Components
- 20:11Hero epiphany
- 20:30Primitive imploring
- 20:55Recap
- 21:40Top Level Components
- 22:38Producer Components
- 23:09Render Justice
- 24:49Mixed Match
- 25:42Label Component
- 25:57Markup Component
- 26:54Calendar
- 27:20Icons
- 27:47Bigger
- 28:15Merge
- 30:32The Result
- 31:22Recursive
- 31:50Reuse








