Skip to content

Warn on unused data #1547

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

Closed
ghost opened this issue Jun 14, 2018 · 0 comments · Fixed by #3802
Closed

Warn on unused data #1547

ghost opened this issue Jun 14, 2018 · 0 comments · Fixed by #3802

Comments

@ghost
Copy link

ghost commented Jun 14, 2018

Currently dev mode gives a warning when data is unspecified; e.g.

<App> was created without expected data property 'name'

Would it be helpful to also warn when a component has data that is never used?

<App> was created with unused data property 'name'

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 a pull request may close this issue.

1 participant