Params State Manager
"An unofficial nuqs port for Svelte:
nuqs-svelte
is a type-safe search params state manager for Svelte. Like$state()
, but stored in the URL query string."
- π Supports SvelteKit, and custom routers via adapters
- π§βοΈ Simple: the URL is the source of truth
- π° Replace history or append to use the Back button to navigate state updates
- β‘οΈ Built-in parsers for common state types (integer, float, boolean, Date, and more). Create your own parsers for custom types & pretty URLs
- βοΈ Related querystrings with
useQueryStates
- π‘ Shallow mode by default for URL query updates