~/talk

From Imperative to Declarative

Talkat Reactathon 2018 · 2018-03-20..03-22· [react, frontend-architecture]
slides:none on file

Compares concrete code patterns: for loop vs reduce to build arrays, shows Set with hash constant lookup used to unique an array (TC39 implementation), demonstrates filter/map producing JSX to render a list of wizard objects with added punctuation, and contrasts jQuery’s direct DOM manipulation with React’s state-driven updates. Notes Big O tradeoffs (linear vs quadratic loops), shows declarative versions are cleaner and usually same runtime but imperative can be faster for tight hotspots.

AI-written summary · about

  1. 0:00Intro
  2. 1:05Paradigms
  3. 3:50Imperatives
  4. 7:30Declaratives
  5. 9:20Array Methods
  6. 12:20Summary
~/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.