Back to Kit

$app/state

documentation/docs/98-reference/20-$app-state.md

latest280 B
Original Source

SvelteKit makes three read-only state objects available via the $app/state module — page, navigating and updated.

[!NOTE] This module was added in 2.12. If you're using an earlier version of SvelteKit, use $app/stores instead.

MODULE: $app/state