-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
When using BrowserHistory any state pushed with push_with_state or replace_with_state etc. is not retrievable across reloads.
Steps to Reproduce
- save state with
push_with_state - reload the page, e.g. with the browser button or with
history.go(0) - notice that the state saved earlier is not available anymore
Expected Behavior
the state is saved in the browser history
Actual Behavior
only a reference to a local (in memory) state is saved in the history
Additional Context
Of course i can implement my own struct that implements the History trait, but that kind of defeats the purpose of exposing the browser history in the crate IMO
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working