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
Since this module relies strictly on popState events to update it's internal value, doing a basic pushState will detach the value from the current state of path.
This only works in the browser because history API
It's not unreasonable to not emit an event when this happens since the browsers don't, but I would expect path() to always return the current state of the path.
The text was updated successfully, but these errors were encountered:
Can't think of a way to handle this well. I don't want to break from the model of observables and return something when getting the current value that isn't emitted. The only way I can think of to handle this would be to globally path pushState and replaceState which I also don't want to do.
Since this module relies strictly on popState events to update it's internal value, doing a basic pushState will detach the value from the current state of path.
This only works in the browser because history API
It's not unreasonable to not emit an event when this happens since the browsers don't, but I would expect
path()
to always return the current state of the path.The text was updated successfully, but these errors were encountered: