~/talk

Reactive Powered: RxJS with Angular Forms

Talkat JavaScript fwdays'19 · on Saturday, 2019-03-16· [angular, reactive-programming]
slides:none on file

Live demo builds a cinema seat selector using Angular Reactive Forms plus RxJS: each seat is a ControlValueAccessor form control, the form is created from a room config observable, and real‑time server streams occupied/released seats drive enable/disable of controls without emitting unwanted valueChange events. An async validator calls the DB service to confirm occupancy, status errors emit for 5s, and selection is counted with Subjects plus scan — the demo reacts to server races, unselects conflicted seats, and the UI updates correctly.

AI-written summary · about

  1. 0:00Intro
  2. 0:31Presentation Overview
  3. 1:18Who is this for
  4. 1:52Demo
  5. 4:13Architecture
  6. 5:05Configuration
  7. 6:00Why a Form
  8. 7:41Reactive Programming
  9. 11:31Take it one step at a time
  10. 11:53Start with a few operators
  11. 12:51Streams of data observables
  12. 14:26Initialize the form
  13. 17:18Build the form
  14. 18:08Implement the control
  15. 19:44Implement the form control
  16. 22:36Disabling the seat
  17. 23:51Realtime updates
  18. 26:41Set value vs patch value
  19. 28:41Value changes
  20. 29:36Validation
  21. 31:23validators
  22. 36:04reacting to an error
  23. 39:02counting seats
  24. 41:02notes
  25. 41:54summary
~/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.