|
|
@ -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`.
|
|
|
|