$ errors.fyi/svelte/state_unsafe_mutation 128 namespaces · 4,025 codes
svelte · svelte/state_unsafe_mutation
state_unsafe_mutation

Unsafe State Mutation

Reactive state was mutated somewhere it isn't allowed — most commonly inside a `$derived(...)` expression or directly in a template. Derived values must be pure; if the value shouldn't be reactive, declare it without `$state`, or move the mutation into an `$effect`.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT