Deferred GET

The page renders before the server function finishes

The loader calls getSlowMessage() and does not await it. That function waits one second on the server. This text is in the first HTML chunk. The line below starts as a fallback, then swaps to the streamed result.

Waiting for the stream…

All examples