Beyond REST: Using Full-Stack Signals for Real-Time Reactive UIs
summary
Demo shows a working poll UI built with React signals and a Java Spring I/O backend that syncs state over a websocket-style Flux so multiple clients (about 80 active users in the demo) see updates instantly. Implementation uses full-stack signals (client ref/computed/effects mapped to server-side number signals), a server-side replay sync to send initial state, and atomic operations like incrementBy to avoid race conditions; optimistic local updates and a small Flux-based server make it real time and resilient.
AI-written summary · about
chapters (10)
- 0:00Real-time UI updates
- 4:22Live poll on frontend
- 8:15Three-step UI approach
- 12:35State management in UI
- 17:57Signals for UI state
- 22:56Sharing signals safely
- 25:48Server state sync
- 31:12Real-time UI with shared state
- 34:49WebSocket sync
- 42:44Summary
related talks
38mBeyond REST: Using Full-Stack Signals for Real-Time Reactive UIs
01h 21mReactive Web Applications
48mReactive Web Apps With 100% Java
30mCombining React and Websocket (...)
52mIt's Time To Talk About Signals
34mBeyond Signals
40mReactive Programming: A Better Way To Write Frontend Applications
47mEvent Driven UIs
