-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Docs should be clearer about watch option keys not supporting key paths #2003
Comments
If this is a documentation issue, I feel it's best for you to report at docs-next because that's the repo that deals with the migration guide |
thanks for the awesome work! |
It's strange that it didn't go through an RFC process. I can understand removing it from the |
This was mentioned briefly in #671 but it looks like it got lost in the subsequent discussion about potential changes to |
Version
3.0.0-rc.9
Reproduction link
https://jsfiddle.net/oekwvhd4/
Steps to reproduce
Migrate a v2 app to v3 with a component that uses a watch option with a key path.
What is expected?
The docs clearly state that watch options no longer support key expressions.
Clear migration guidance should be given about moving watched keypaths to
mounted
this.$watch(() => this.key.path, () => doSomething())
What is actually happening?
This is a significant (and silent!) breaking change, but the docs still refer to
key expressions
.The text was updated successfully, but these errors were encountered: