Streaming HTML: show something before everything is ready
Async components let the browser render the top of a page while the server is still waiting for slow data further down.
Components in Jeasx can be async. Await a database query or an API call right inside the component, and the server waits for it while rendering. Combined with streaming, the browser receives the head and the first sections of a page immediately, and can load stylesheets and paint while the rest is still on its way.
For a fast time to first byte, put slow content at the end of the page or load it in parallel. The streaming and out-of-order examples in this expo show both techniques side by side.