-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
Describe the bug
I am using sv check
with a code base that uses Svelte 5, but non-runes mode. I disabled runes in my svelte.config.js
using the compilerOptions: { runes : false }
setting.
However I still get the warnings "Warn: Properties of objects and arrays are not reactive unless in runes mode...."
Reproduction
- Create a new project and disable the runes using the using the
compilerOptions: { runes : false }
setting insvelte.config.js
. - Create a file with a
$:
statement. - run
sv check
Logs
tmp/: sv check
/tmp/src/routes/(uishell)/(helpers)/tasks/+page.svelte:33:80
Warn: Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update (svelte)
$: AC = new APIClient(Schematics, data.selectedUnit ? data.selectedUnit.key : ALL_UNIT.key)
$: RS = new RecordStore(
### System Info
```shell
System:
OS: Linux 6.11 Arch Linux (btw)
CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
Memory: 55.72 GB / 62.71 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 23.1.0 - /usr/bin/node
Yarn: 1.22.22 - /usr/bin/yarn
npm: 10.9.0 - /usr/bin/npm
pnpm: 9.12.2 - /usr/bin/pnpm
bun: 1.1.30 - ~/bin/bun
Browsers:
Brave Browser: 130.1.71.118
Chromium: 130.0.6723.69
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels