Skip to content

Fix wrong comment in basic-reactivity.md #836

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
Feb 1, 2021

Conversation

JohnNiang
Copy link

Description of Problem

Wrong comment obj.value as below:

// it will update `obj.value`
count.value++
console.log(count.value) // 2
console.log(obj.count) // 2

Proposed Solution

- // it will update `obj.value`
+ // it will update `obj.count`

Additional Information

Change `obj.value` to `obj.count`.
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnNiang thank you for the fix!

@NataliaTepluhina NataliaTepluhina merged commit c7f5a9e into vuejs:master Feb 1, 2021
@JohnNiang JohnNiang deleted the patch-1 branch February 3, 2021 14:47
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.

2 participants