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

Effect Update Depth Exceeded

Svelte detected an infinite update loop — an `$effect` (or reactive statement) keeps re-running because it both reads and writes the same reactive state. Equivalent to React's "Maximum update depth exceeded"; break the cycle by reading and writing different state, or guarding the write with a condition.

References

In this namespace

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