-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Description
Describe the bug
Binding a nested writable $store value doesn't work with the error saying in the browser that the value is not bindable.
Reproduction
// Parent
<Preview
bind:contactInfo={$store.contactInfo}
</Preview>
// Preview
Here contactInfo is a property, but it's coming from the store. This breaks my app on 200 places.
let {
contactInfo = $bindable()
} = $props();
<PhoneNumber
bind:value={contactInfo.phoneNumber.value}
/>
Logs
bind:value={contactInfo.phoneNumber.value}` (src/lib/reservation/components/Reservation/Preview/Preview/index.svelte:128:5) is binding to a non-reactive propertySystem Info
Arch linux, google chrome, svelte5 with sveltekit.Severity
blocking an upgrade
macmillen and SkepticMystic
Metadata
Metadata
Assignees
Labels
No labels