Extreme reactive forms in Angular
summary
Live demo of a theater-seat picker built with Angular Reactive Forms and RxJS that keeps form state in sync with route params and a real-time seat feed (WebSocket or polling). Uses nested FormArrays, a ControlValueAccessor seat component, async validator that switchMap to seat-check API to reject already-occupied seats, and programmatic disable/enable with emitEvent:false to avoid spurious value-change counts. Error messages stream via a Subject, seat count uses scan, and occupied/released updates apply without rebuilding the form.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:37About me
- 1:07Demo
- 2:50Architecture
- 3:59Why form
- 5:02Reactive programming
- 8:27Use case
- 9:19Form implementation
- 11:16Form construction
- 15:15Disable seat
- 17:54Set or patch value
- 20:06Validation
- 26:21Errors
- 28:56Count
related talks
50mReactive Powered: RxJS with Angular Forms
43mReactive Powered: RxJS with Angular Forms
34mForm of Art.
24mReactive Powered: RxJS with Angular Forms
48mHandling Angular Forms Without Losing Your Sanity
31mEnterprise Grade Angular Reactive Forms
45mReactive Frontends with RxJS and Angular
35mLet's Build a Form Around It
