-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
I'm getting the following error with the 192 release
[svelte] binding_property_non_reactive
`bind:this={components[1]}` is binding to a non-reactive property
The error doesn't contain any hint as to where it happened.
Please, could all error messages come with a filename and line number?
Reproduction
Update: you can reproduce this with create svelte (I selected only skeleton project, js only, and svelte 5 preview):
npm create svelte@latest my-app
cd my-app
npm install
npm run dev -- --open
the devtools console has two of these errors.
The only location a global search of my project found with the exact text was in .svelte-kit/generated/root.svelte
{#if constructors[1]}
<svelte:component this={constructors[0]} bind:this={components[0]} data={data_0}>
<svelte:component this={constructors[1]} bind:this={components[1]} data={data_1} {form} />
</svelte:component>
{:else}
<svelte:component this={constructors[0]} bind:this={components[0]} data={data_0} {form} />
{/if}
{#if mounted}
<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
{#if navigated}
{title}
{/if}
</div>
{/if}
Logs
No response
System Info
System:
OS: Windows 11 10.0.22631
CPU: (48) x64 AMD Ryzen Threadripper 3960X 24-Core Processor
Memory: 32.72 GB / 63.88 GB
Binaries:
Node: 21.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.5.0 - ~\AppData\Local\pnpm\pnpm.CMD
bun: 1.1.8 - ~\AppData\Roaming\npm\bun.CMD
Browsers:
Edge: Chromium (126.0.2592.87)
Internet Explorer: 11.0.22621.3527Severity
annoyance
sameoldlab, selcukturan, olihawkins, rChaoz, memestageceo and 16 more
Metadata
Metadata
Assignees
Labels
No labels