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

Derived References Self

A `$derived(...)` expression reads the very value it's assigned to, creating a circular dependency. Derived values must be computed purely from other state — restructure the logic so the derivation doesn't depend on its own previous result.

References

In this namespace

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