filter
filter copied to clipboard
Error in the case: "FilterBuilderSimple.svelte"
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
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.
Hi,
Please check version 2.2.1, the issue has been fixed there