Open ptrxyz opened 2 days ago
This is actually a warning for non runes mode because if you import something and access it and use it in a labeled statement that thing it's not reactive
I'm wondering how much use this warning is / how many false positives it yields.
I'm wondering how much use this warning is / how many false positives it yields.
tbf i don't think people are importing stuff expecting it to be reactive but overall i'm more inclined to mute a warning than have false negatives...i wonder if there's some github search we can do to check 🤔
here's a Svelte 5 upgrade PR that has lots of ignores related to this warning if you want to see some examples: https://github.com/immich-app/immich/pull/13738
Describe the bug
I am using
sv check
with a code base that uses Svelte 5, but non-runes mode. I disabled runes in mysvelte.config.js
using thecompilerOptions: { runes : false }
setting. However I still get the warnings "Warn: Properties of objects and arrays are not reactive unless in runes mode...."Reproduction
compilerOptions: { runes : false }
setting insvelte.config.js
.$:
statement.sv check
Logs
Severity
annoyance