Update documentation/docs/03-template-syntax/19-await-expressions.md

Co-authored-by: Conduitry <git@chor.date>
pull/16376/head
Rich Harris 2 months ago committed by GitHub
parent 2f2ca5dc1a
commit e686e94d1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ As of Svelte 5.36, you can use the `await` keyword inside your components in thr
- inside `$derived(...)` declarations - inside `$derived(...)` declarations
- inside your markup - inside your markup
This feature is currently experimental, and you must opt in by adding the `experimental.async` option wherever you [configure](https://svelte.dev/docs/kit/configuration) Svelte, usually `svelte.config.js`: This feature is currently experimental, and you must opt in by adding the `experimental.async` option wherever you [configure](/docs/kit/configuration) Svelte, usually `svelte.config.js`:
```js ```js
/// file: svelte.config.js /// file: svelte.config.js

Loading…
Cancel
Save