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.

Sapper doesn't render pages which are set by pushstate #791

Open
@antony

Description

@antony

A little background - pushstate is used a lot when persisting a page which results from a search query. Adding parameters dynamically and then allowing the user to click back in order to return to their filtered search results.

It appears that doing so in Sapper doesn't work - the title changes, and the URL changes in the browser, but hitting back doesn't re-render the page, unless you then navigate forward again and then backwards.

I've created a reproduction here: https://github.com/antony/sapper-pushstate-issue

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