0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-28 16:12:17 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
Dominic Gannaway
cdec39afac
fix: ensure custom element attribute/prop changes are in their own context (#14016)
Fixes #13848.

When we set custom element attributes/props, we should be doing so without the current effect/reaction active. Otherwise, the custom element lifecycle might attach effects/dependencies to the wrong reaction and all manner of things can incorrectly occur

---------

Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2024-10-30 22:07:38 +01:00