filter icon indicating copy to clipboard operation
filter copied to clipboard

Error in the case: "FilterBuilderSimple.svelte"

Open fhumanes opened this issue 1 year ago • 2 comments

When compiling this example in Svelte 5 Javascript, in execution, I am having this error: Uncaught Svelte error: state_unsafe_mutation Updating state inside $derived(...), $inspect(...) or a template expression is forbidden. If the value should not be reactive, declare it without $state https://svelte.dev/e/state_unsafe_mutation

And I have not been able to solve

fhumanes avatar Jul 20 '25 17:07 fhumanes

Hello fhumanes,

Thank you for reporting the issue. This is a bug that has appeared in the latest versions of Svelte 5. Our team is currently working on a fix, and we aim to resolve it as soon as possible.

Natasha-eng avatar Jul 31 '25 10:07 Natasha-eng

Hi,

Please check version 2.2.1, the issue has been fixed there

Zwillinge avatar Aug 04 '25 09:08 Zwillinge