Reactive Powered: RxJS with Angular Forms
summary
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
chapters (14)
- 0:00Intro
- 2:59SERVER-CLIENT ARCHITECTURE
- 4:39WHY FORM?
- 6:49REACTIVE FORMS
- 13:03FETCHING AND SETTING INITIAL VALUE
- 17:02FETCHING AND PATCHING INITIAL VALUE
- 19:27CREATING THE FORM
- 23:01DISABLED IF OCCUPIED
- 27:14DISABLE WITH SET VALUE / PATCH VALUE?
- 32:14ASYNC VALIDATION
- 38:29SHOW ERROR MESSAGE + UNSELECT
- 45:01SELECTED SEATS COUNT
- 47:09A NOTE ABOUT
- 48:08SUMMARY
related talks
43mReactive Powered: RxJS with Angular Forms
31mExtreme reactive forms in Angular
24mReactive Powered: RxJS with Angular Forms
34mForm of Art.
45mReactive Frontends with RxJS and Angular
01h 07mReactive Frontends with RxJS and Angular - Sergi Almar
31mEnterprise Grade Angular Reactive Forms
51mReactive programming in Angular
