Mastering Complex UI: State Machines and Reactive Patterns
summary
Explains how finite state machines and reactive patterns (RxJS and Focal signals) were used at Grammarly to avoid callback hell when integrating a new feature into existing infrastructure. Covers practical difficulties of that real-world integration, how state machines changed visualization and scaling, and techniques for combining state machines with RxJS/Focal signals to build maintainable UIs.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 5:04Text fixes problem
- 8:57Finite state machines
- 13:37State diagram
- 17:33State machine implementation
- 23:14Async events problem
- 25:43Reactive programming with RXJS
- 27:54Focal library
- 30:42Refactoring with RXJS & Focal
- 34:38Pros and cons
- 34:59When to use state machines & RXJS
- 37:53When not to
- 38:16Resources
- 38:58Q&A
related talks
30mMastering UIs with Finite State Machines
25mMastering UIs with Finite State Machines
37mReactive State Machines and Statecharts
45mMastering UIs with Finite State Machines
29mReactive State Machines and Statecharts
45mHow to Manage Your UI State: Virtual DOM and RxJS
40mReactive Programming: A Better Way To Write Frontend Applications
21mReactive State Machines and Statecharts
