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

Lifecycle Function Called Outside Component

A lifecycle function such as `onMount`, `onDestroy`, `beforeUpdate`, or `getContext` was called outside of a component's initialisation — for example inside an event handler, `setTimeout`, or after an `await`. These functions must be called synchronously while the component is being instantiated.

References

In this namespace

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