~/talk

Common Component Decomposition Pitfalls (And How To Avoid Them!)

Talkat Øredev 2019 · 2019-11-06..11-08· [react, component-design]
name:Rob Ocel
github:robocel
slides:none on file

Argues that component decomposition succeeds when concrete choices are clear: use rule of three before abstracting, split a three‑step wizard into routable step components, refactor a large form into design‑system atoms, and prefer prefer duplication over the wrong abstraction until patterns repeat. Demonstrates tools and patterns: React examples, Material‑UI style primitives, Redux pitfalls, and use downshift for autocomplete to isolate behavior. Shows that these changes reduce file size, improve cohesion, and make UIs easier to test.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57About Rob
  3. 2:39Take A Deep Breath
  4. 3:07What Are Components
  5. 4:24Component Decomposition
  6. 5:20Amazon Example
  7. 6:07Why is this process hard
  8. 8:13The Goldilocks Problem
  9. 9:42The Too Many Component Problem
  10. 11:02The List Component Problem
  11. 12:29The Form Component Problem
  12. 14:07The Bob Ross Problem
  13. 14:55Large Files
  14. 15:40Similar Components
  15. 17:08Multi Modal Components
  16. 18:12Example
  17. 20:24The Future
  18. 21:50Strategies
  19. 24:18Reusable Components
  20. 26:43Specific Components
  21. 28:31Specific Components Example
  22. 30:55Isolating Concerns
  23. 33:39Crossing Complexity Boundaries
  24. 37:36Conclusion
~/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.