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

fix(watchEffect): prevent recursive calls when using flush:sync #389

Merged
merged 3 commits into from
Jun 19, 2020

Conversation

pikax
Copy link
Member

@pikax pikax commented Jun 19, 2020

Fix #388

Prevent callback being called multiple times on the same callback

@pikax pikax requested a review from antfu June 19, 2020 13:29
@pikax pikax changed the title Fix/prevent recursive watch callback fix(watchEffect): prevent recursive calls when using flush:sync Jun 19, 2020
@pikax pikax requested a review from posva June 19, 2020 13:34
@antfu antfu merged commit f7f1e77 into vuejs:master Jun 19, 2020
@pikax pikax deleted the fix/prevent_recursive_watch_callback branch June 19, 2020 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

watchEffect getter work problem
2 participants