Skip to content

[@embroider/router] url query params are not sticky #2508

@andrew-paterson

Description

@andrew-paterson

Clone https://github.com/andrew-paterson/sticky-params-bug

Run pnpm install and pnpm start.

Use the nav menu to go to my-route. Use the input to update the name query param- it will update in the page URL.

Then use the nav menu to navigate to index and then back to my-route.

The name QP is gone.

Note that if you switch to the Ember router in app/router.js and repeat the above steps, the name QP is sticky, and is retained after navigating away and back again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions