-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replaceState should trigger subscribe callbacks #1316
Comments
I see the issue in dev-tools, but think we need a different solution than running
|
I agree that we need a way of getting informed when the state has been replaced. The lack of this capability is making life difficult with |
Is this a duplicate of #1448 (or the other way round)? |
Any movement on this? It's a bit confusing in the dev tools when calling replaceState and they do not update correctly. I looked in the devtools repo and saw this issue vuejs/devtools-v6#690 |
any updates on this? |
Version
3.0.1
Reproduction link
https://codepen.io/anon/pen/zajRgg?editors=1010
Steps to reproduce
subscribe
a callbackreplaceState
with any object, andsubscribe
wouldn't be triggeredWhat is expected?
subscribe
should be triggeredWhat is actually happening?
it's not.
if
replaceState
won't firesubscribe
callback, vue-devtools would not work properly.ref: vuejs/devtools-v6#690
The text was updated successfully, but these errors were encountered: