Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

[FR] Ability to silently pass query values on client side navigation #992

Open
@pushkine

Description

@pushkine

e.g. when making a feature request on the sapper github, your href will be the following :

sveltejs/sapper/issues/new?assignees=&labels=New+Feature&template=feature_request.md&title=

I'd like for sapper to support the ability to hide the query when the navigation happens clientside

sveltejs/sapper/issues/new

nextjs supports this with the as field, which allows you to specify what href you want the browser to display. I do not know whether allowing hrefs that do not exist on the server to exist client side is a good idea but I'd like to at least be able to hide the query client side without workarounds such as sapper.goto(page.path, { replaceState:true }) in preload

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions