You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.History.replace({foo: "bar"}); on a.html.
2. move to b.html.
3. move to a.html again by clicking an anchor.
4. History.getState().data returns {foo: "bar"}
1 and 4 isn't same history stack.
I expect of data object to be empty.
The native history.state returns the object that has passed to history.replaceState() only when history stack is same.
Is there any way to do something only when move to the stack when History.replaceState() has called?
The text was updated successfully, but these errors were encountered:
1.
History.replace({foo: "bar"});
on a.html.2. move to b.html.
3. move to a.html again by clicking an anchor.
4.
History.getState().data
returns{foo: "bar"}
1 and 4 isn't same history stack.
I expect of data object to be empty.
The native
history.state
returns the object that has passed tohistory.replaceState()
only when history stack is same.Is there any way to do something only when move to the stack when
History.replaceState()
has called?The text was updated successfully, but these errors were encountered: