-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Computed prop sometimes not updating in nested component #3404
Comments
Indeed, but strictly speaking it is different from #2768 #2829, but very similar. The reason is that the update of the child component causes the parent component's |
Version
3.0.7
Reproduction link
https://codesandbox.io/s/reactivity-issue-demo-jbbme?file=/src/App.vue
Steps to reproduce
Please have a look at the minimal reproduction demo
What is expected?
All three (identical) components should behave identical
What is actually happening?
The second one doesn't update correctly
As requested I minimized the reproduction even more. The old link with more context still exists here: https://codesandbox.io/s/reactivity-issue-demo-h6mmz?file=/src/App.vue
(This more detailed demo is additionally emitting the selected tab, and this will cause the second - incorrectly rendered - component to update to a correct state as soon as the buttons inside the component are clicked)
The text was updated successfully, but these errors were encountered: