~/talk

Hello generics, Goodbye boilerplate

Talkat Agent Conf 2020 · 2020-01-23..01-26· [typescript, frontend-architecture]
slides:none on file

Claim: applying TypeScript generics to state management cuts boilerplate dramatically. Uses Angular + NgRx + RxJS and replaces repetitive action classes with a generic base action and action creators, folds common loading/failure logic into a generic reducer, and generates reusable generic effects and a paged collection wrapper. The team removes roughly a hundred lines by turning repetitive patterns into typed builders, publishes the solution on GitHub/NPM, and reports it works in production.

AI-written summary · about

  1. 0:00Start
  2. 4:22What Is Boilerplate
  3. 14:13Property Length of Undefined
  4. 18:18Create Action
  5. 19:05Reducers
  6. 26:04Effects in Ng Rx
  7. 29:17Failure Target
~/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.