Skip to content
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

Performance: Include/Use uid in the name when using performance.measure #9687

Open
mjntan35 opened this issue Mar 13, 2019 · 0 comments
Open

Comments

@mjntan35
Copy link

What problem does this feature solve?

This is in regards when Vue.config.performance is set to true.
When there is multiple components of the same name, it is difficult to distinguish which component coincide to which performance information.

One simple use case is rendering components inside a v-for.

What does the proposed API look like?

Instead of just using name (Vue._name), I suggest to include the _uid to better distinguish components with the same name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants