Await for it
summary
Spelt implements a compiler-driven await-in-components model that hoists pure async expressions, runs them in parallel, and coordinates updates so the UI refreshes only when all dependencies settle. Demo shows three Pokémon fetches and image loads happen simultaneously, avoids stale-closure click bugs, supports lazy component loading and offloading heavy work to web workers, and preserves interactive updates while background async runs. It lands behind an experimental flag soon, currently renders a pending SSR state, and next adds server-side resolution and speculative prefetching.
AI-written summary · about
chapters (9)
- 0:00Introduction and past web
- 3:32Component frameworks and async
- 5:38Evolution of async in components
- 8:24React server components demo
- 10:11React async pitfalls
- 11:57Framework-specific async issues
- 13:00Spelt’s async solution
- 16:15Await use cases and benefits
- 17:40Framework simplicity and JSX








