0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 12:27:29 +01:00
svelte/.changeset/moody-sheep-type.md
Simon H a2164ff9f4
fix: make bind_this implementation more robust (#10598)
The previous `bind_this` implementation had flaws around timing and didn't work correctly when the binding wasn't `$state` in runes mode.
This PR reimplements `bind_this` by aligning it more with how Svelte 4 bindings work, namely reacting to each block context variables updates properly and introducing a mechanism to get the previous binding destination using said variables.
2024-02-22 13:47:21 +01:00

74 B

svelte
patch

fix: make bind_this implementation more robust