diff --git a/documentation/docs/02-template-syntax/03-logic-blocks.md b/documentation/docs/02-template-syntax/03-logic-blocks.md index 98bfc3ea1853..af47f6dfa7af 100644 --- a/documentation/docs/02-template-syntax/03-logic-blocks.md +++ b/documentation/docs/02-template-syntax/03-logic-blocks.md @@ -152,14 +152,16 @@ Since Svelte 4 it is possible to iterate over iterables like `Map` or `Set`. Ite {#await expression catch name}...{/await} ``` -Await blocks allow you to branch on the three possible states of a Promise — pending, fulfilled or rejected. In SSR mode, only the pending state will be rendered on the server. +Await blocks allow you to branch on the three possible states of a Promise — pending, fulfilled or rejected. +In SSR mode, only the pending branch will be rendered on the server. +If the provided expression is not a Promise only the fulfilled branch will be rendered, including in SSR mode. ```svelte {#await promise}
waiting for the promise to resolve...
{:then value} - +The value is {value}
{:catch error}