~/talk

Recomposing your React application

Talkat ReactEurope 2016 · on Wednesday, 2016-06-01· [react, component-design]
slides:none on file

Claim: small reusable higher‑order components (HOCs) improve modularity and keep presentational components pure. Implementation: an open source library Recompose provides utilities like createEagerElement to inline stateless functions and an RX‑style mapPropStream to compose prop transforms, letting many HOCs squash into a single container. Evidence: library sees 55,000 downloads/month, is used in production, and a PR for broader class‑squashing optimization is pending, showing measurable reduction in extra React component instances.

AI-written summary · about

  1. 0:00Intro
  2. 1:53What are higherorder components
  3. 3:55How do they work
  4. 7:37Higherorder components
  5. 13:49The core idea
  6. 16:25The name
  7. 16:47Concerns
  8. 21:41CreateEagerElement
  9. 22:21Technic Component Squash
  10. 22:37Flattened Component Squash
  11. 22:54Classbased Container Squash
  12. 23:55MattPropStream
  13. 27:45UpdateMiddleware
  14. 29:13Recap
~/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.