docs: note before/afterUpdate breaking change (#14567)

...about slotted content behavior
Related to #14564
pull/14570/head
Simon H 10 months ago committed by GitHub
parent 4b802dbed3
commit 1ffce92d90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -823,6 +823,8 @@ The `foreign` namespace was only useful for Svelte Native, which we're planning
`afterUpdate` callbacks in a parent component will now run after `afterUpdate` callbacks in any child components.
`beforeUpdate/afterUpdate` no longer run when the component contains a `<slot>` and its content is updated.
Both functions are disallowed in runes mode — use `$effect.pre(...)` and `$effect(...)` instead.
### `contenteditable` behavior change

Loading…
Cancel
Save