~/talk

The Architecture of Components

Talkat AngularConnect 2019 · 2019-09-19..09-20· [angular, frontend-architecture]
slides:none on file

Argues that complexity falls when state sits only where it belongs and shows concrete patterns and code-level tradeoffs. Defines presentational/container/layout components, uses Angular Router and HttpClient for persistence and sharing, and prefers services and component-local state over global stores unless needed. Describes a real rewrite of a Universal Picker where passing props down fails and gets replaced by a smart star component backed by a star service with a map and ReplaySubject observable, improving reuse and update consistency.

AI-written summary · about

  1. 0:00Introduction
  2. 2:31Types of Components
  3. 2:53Presentational
  4. 3:37Container
  5. 4:09Layout
  6. 4:53Data
  7. 5:10Containers
  8. 5:32Warning
  9. 5:51Universal Picker
  10. 6:33Tab Bar
  11. 7:11ListView
  12. 7:33FeatureFlag
  13. 8:31What Went Well
  14. 9:02What Didnt Go Well
  15. 9:37The Next Version
  16. 10:47Where Should Your State Live
  17. 11:37Types of State
  18. 12:34Questions to Ask Yourself
  19. 13:13How to Store State
  20. 14:08Organization
  21. 14:26Context
  22. 14:36Subject
  23. 15:35Router
  24. 15:58Home
  25. 16:24Settings
  26. 17:07Smart Component
  27. 17:29ReadOnly Observable
  28. 18:48Favorites
  29. 19:01Single Input
  30. 20:25Star
  31. 21:43Requirements
  32. 22:30Application Wide State
  33. 23:30Expert Zone
~/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.