update error details

pull/15844/head
Rich Harris 3 months ago
parent 042598cf33
commit 758c39dc87

@ -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 `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 ### state_descriptors_fixed
``` ```

@ -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 > `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 ## state_descriptors_fixed
> Property descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`. > Property descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.

Loading…
Cancel
Save