~/talk

Smart and Dumb Components

Talkat NG-NL 2016 · 2016-02-17..02-18· [angular]
slides:none on file

Argues that splitting UI into dumb components (pure view, receive props, emit events) and smart components (inject app-level services, hold state) makes large Angular apps more reusable and testable. Shows live human-demo of events flowing up to a dispatcher, demonstrates Redux-style dispatch and an RxJS/observable stream analogy, and reports that the pattern reduces cross-tree plumbing compared with passing root state everywhere. Recommends extracting reusable dumb pieces early and keeping service logic in container components.

AI-written summary · about

  1. 0:00Introduction and Background
  2. 1:57The Evolution of Data Flow
  3. 6:33Data Flow and Components
  4. 8:07Component Basics in Angular
  5. 11:56Connecting Logic to Views
  6. 13:12Smart and Dumb Components
  7. 17:22Live Component Demonstration
  8. 21:07Summary and Best Practices
~/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.