Description
Describe the bug
let { data } = $props();
let { foo } = $state(data)
is compiled into
export default function Component($$anchor, $$props) {
let tmp = data, foo = $.proxy(tmp.foo);
that crashes with error data is not defined
.
From Discord thread
Reproduction
Logs
System Info
Svelte 5.33.0+
Severity
blocking an upgrade
Metadata
Metadata
Assignees
Labels
No labels