[]previous and next page

Diagnostics

Warnings are reported once per code through console.warn.

For agentsUpdated
Code When Result
NO_OWNER_EFFECT useEffect, useRenderEffect or onMount called with no owner Warning in development; the effect still runs and can never be disposed
NO_OWNER_CLEANUP onCleanup called with no owner Warning; the function is dropped and never runs
FLUSH_IN_EFFECT flushSync() while a flush is running Warning; the call only runs its callback
RUN_WITH_DISPOSED_OWNER runWithOwner with a disposed owner Warning; the callback runs with no owner
INFINITE_LOOP More than 1000 flush passes ShadowError thrown; queued effects are dropped
CYCLE_DETECTED A memo reads itself while computing ShadowError thrown
WRITE_IN_MEMO A signal or store write inside a useMemo function ShadowError thrown in development

Warnings are reported once per code through console.warn.