Skip to content

Reference doc in component data function warning #4378

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
Dec 4, 2016
Merged

Reference doc in component data function warning #4378

merged 1 commit into from
Dec 4, 2016

Conversation

chrisvfritz
Copy link
Contributor

The reason data has to be a function in components seems to be a point of confusion for many, so I've linked to an explanatory example in the warning.

@chrisvfritz
Copy link
Contributor Author

@yyx990803 I don't remember if you're getting email notifications of PRs on the main repo anymore, so tagging you. 🙂

@yyx990803
Copy link
Member

Yeah I still get notifications for the main repo :)

@yyx990803 yyx990803 merged commit 4120d1a into vuejs:dev Dec 4, 2016
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