# on_dispose_outside_scope

## What happened

onDispose() was called with no enclosing effect or scope to attach to.

## What to do

Call onDispose() inside an effect, a scope(), or a component.

The arguments of the specific occurrence are in the query string of the URL the error gave you.
