~/talk

Reactive Powered: RxJS with Angular Forms

Talkat YGLF 2019: Code Camp · 2019-04-03..04-04· [angular, reactive-programming]
slides:none on file

A live theater seat picker demo shows a concrete claim: Reactive Forms plus RxJS handle async seat-occupancy updates, validation and UI state. Code uses Angular Reactive Forms, Observables from router and HTTP, a custom ControlValueAccessor seat control, async validator wired through switchMap, BehaviorSubject to show an error for five seconds, and scan to maintain a selected-seat count. Examples include disabling/enabling controls without emitting and unselecting conflicted seats.

AI-written summary · about

  1. 0:00Intro
  2. 2:59SERVER-CLIENT ARCHITECTURE
  3. 4:39WHY FORM?
  4. 6:49REACTIVE FORMS
  5. 13:03FETCHING AND SETTING INITIAL VALUE
  6. 17:02FETCHING AND PATCHING INITIAL VALUE
  7. 19:27CREATING THE FORM
  8. 23:01DISABLED IF OCCUPIED
  9. 27:14DISABLE WITH SET VALUE / PATCH VALUE?
  10. 32:14ASYNC VALIDATION
  11. 38:29SHOW ERROR MESSAGE + UNSELECT
  12. 45:01SELECTED SEATS COUNT
  13. 47:09A NOTE ABOUT
  14. 48:08SUMMARY
~/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.