[docs] what is rendered when for #await

pull/6788/head
Ben McCann 5 years ago
parent e82cf3f6d7
commit 771b352ea3

@ -309,7 +309,7 @@ An each block can also have an `{:else}` clause, which is rendered if the list i
---
Await blocks allow you to branch on the three possible states of a Promise — pending, fulfilled or rejected.
Await blocks allow you to branch on the three possible states of a Promise — pending, fulfilled or rejected. The pending state is rendered initially on both the client and server with the resolved state being updated after hydration.
```sv
{#await promise}

Loading…
Cancel
Save