Skip to content

fix(reactivity): not trigger effect when deleting property returns false #168

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

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

TerenceZ
Copy link
Contributor

@TerenceZ TerenceZ commented Oct 9, 2019

In non-strict mode, should not trigger effect when deleting property returns false.
In strict mode, deleteing property returning false will arise an error and this is ok.

@yyx990803 yyx990803 merged commit ff68db4 into vuejs:master Oct 9, 2019
@yyx990803
Copy link
Member

Note: this cannot be easily tested because jest tests all run in strict mode and deletion returning false results in TypeError.

@vue-bot
Copy link
Contributor

vue-bot commented Oct 9, 2019

Hey @TerenceZ, thank you for your time and effort spent on this PR, contributions like yours help make Vue better for everyone. Cheers! 💚

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.

4 participants