Skip to content

useSearchParams: add option for shallow routing #377

@fredviken

Description

@fredviken

Describe the feature in detail (code, mocks, or screenshots encouraged)

Add a shallow option to the useSearchParams, that when enabled, uses pushstate/replacestate instead of goto. This would update the url without triggering a navigation.

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

https://svelte.dev/docs/kit/shallow-routing

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagePending triage by a maintainer to give it proper labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions