~/talk

Mastering Complex UI: State Machines and Reactive Patterns

TalkinUkrainianat JavaScript fwdays'25 · on Saturday, 2025-05-24· [frontend-architecture, reactive-programming]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 5:04Text fixes problem
  3. 8:57Finite state machines
  4. 13:37State diagram
  5. 17:33State machine implementation
  6. 23:14Async events problem
  7. 25:43Reactive programming with RXJS
  8. 27:54Focal library
  9. 30:42Refactoring with RXJS & Focal
  10. 34:38Pros and cons
  11. 34:59When to use state machines & RXJS
  12. 37:53When not to
  13. 38:16Resources
  14. 38:58Q&A
~/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.