Skip to content

refactor(reactivity): immediate return #301

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 16, 2019

Conversation

Tidyzq
Copy link
Contributor

@Tidyzq Tidyzq commented Oct 15, 2019

No description provided.

@ZhangJian-3ti
Copy link
Contributor

ZhangJian-3ti commented Oct 15, 2019

IMO, in this case ,this style reduced the readability.

@RobertWHurst
Copy link

@ZhangJian-3ti Returning early is pretty common and makes code more readable. It's not at all like goto statements.

@yyx990803 yyx990803 merged commit a72652f into vuejs:master Oct 16, 2019
@vue-bot
Copy link
Contributor

vue-bot commented Oct 16, 2019

Hey @Tidyzq, 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.

5 participants