diff --git a/documentation/docs/98-reference/.generated/client-errors.md b/documentation/docs/98-reference/.generated/client-errors.md index d894bbb270..d6a1ed4aaf 100644 --- a/documentation/docs/98-reference/.generated/client-errors.md +++ b/documentation/docs/98-reference/.generated/client-errors.md @@ -126,6 +126,8 @@ The `%rune%` rune is only available inside `.svelte` and `.svelte.js/ts` files `setContext` must be called when a component first initializes, not in a subsequent effect or after an `await` expression ``` +This restriction only applies when using the `experimental.async` option, which will be active by default in Svelte 6. + ### state_descriptors_fixed ``` diff --git a/packages/svelte/messages/client-errors/errors.md b/packages/svelte/messages/client-errors/errors.md index 8a632abe3c..a745022831 100644 --- a/packages/svelte/messages/client-errors/errors.md +++ b/packages/svelte/messages/client-errors/errors.md @@ -84,6 +84,8 @@ This restriction only applies when using the `experimental.async` option, which > `setContext` must be called when a component first initializes, not in a subsequent effect or after an `await` expression +This restriction only applies when using the `experimental.async` option, which will be active by default in Svelte 6. + ## state_descriptors_fixed > Property descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.