You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"%c[svelte] ownership_invalid_binding\n%cOuter.svelte passed a value to Inner.svelte with bind:, but the value is owned by App.svelte. Consider creating a binding between App.svelte and Outer.svelte"
fixes#11483
We need to keep track of the component function similar to how we keep track of the component context, so that effects etc have the correct one associated
fixes#11483
We need to keep track of the component function similar to how we keep track of the component context, so that effects etc have the correct one associated
Describe the bug
#11399 tracked faulty
ownership_invalid_binding
errors.This was fixed for 5.0.0.next.121 in #11401.
Something in 5.0.0.next.123 broke it again, specifically inside
#if
blocks. (Probably 6e5ab2e ?)The only thing I changed from @Rich-Harris's reproduction from #11399 was wrapping a dummy
#if
around the children:Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAE41RQU6EQBD8Sqc1WYgE9IqAetyTDxAPy9DoKPSQoTExhL-bmdHd1ZjNHuZQk6ruquoFO93ThPnTgrwbCHN8GEdMUD5HB6YP6oUwwcnMVrmfYlJWj1LVXIseRmMFHmchC501A2zSzKM0CDe3R7Qt8xHNo18093oSMM0bKYESLifZCUULKDOz5HANa3xbc5EdLHDh13k3y4XuQOxMq58mRVjYaG7z75lZIGa6W92coMUEB9PqTlOLudcn-zI844w6oN_xS1mjTDVWP0EWUK-6by0xrC7OaM04RfGfBMu9JW7J7sl3aRSvp0z5XOfeKBg5dOrq2DU9RfFJU0GQ-uZdV80sYhjcyrLGgGoEw6rX6r1cohjKCo5VVyXcrNWWlaWBWIosiP6p-3n9Av_binmHAgAA
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: