Skip to content
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

Watcher in custom component is not fired when prop value is updated from another watcher #2821

Closed
sqal opened this issue May 9, 2016 · 0 comments
Labels

Comments

@sqal
Copy link
Contributor

sqal commented May 9, 2016

Vue.js version

1.0.22

Reproduction Link

http://www.webpackbin.com/4yVzt9qWZ

What is Expected?

When some data passed to custom component as a prop is updated inside watcher callback, then this change should be detected by prop watcher in custom component.

What is actually happening?

Watcher in custom component is not aware about this change. But when i update data passed to component directly, not inside watcher, then watcher callback inside custom component is fired properly.

I noticed this issue have appeared in 1.0.22 and does not occur in pevious versions of Vue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants