~/talk

Composition

Talkat ReactEurope 2017 · on Friday, 2017-05-19· [react, component-design]
slides:none on file

Claim: composition is the practical pattern that makes APIs and UI concerns reusable. Demonstrations use ramda / lodash‑fp / recompose / React Apollo and polished to build a composable color API that accepts and returns a CSS color string, requires the modifier arguments first so the last argument must be the data, and uses currying to support both direct and curried signatures. Shows higher‑order components like withLoadingIndicator and withErrorMessage, a parameterized HOC, and extracting an infinite‑rotation HOC for a React VR Earth that reduces repetition and works.

AI-written summary · about

  1. 0:00Start
  2. 5:51Function Composition
  3. 6:29React
  4. 10:58Functions
  5. 17:09Lighting Function
  6. 19:55Higher-Order Functions
  7. 26:26Build a High Order Component
  8. 28:00Error Message
~/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.