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

Comments

Projects
None yet
2 participants
@mjntan35
Copy link

mjntan35 commented Mar 13, 2019

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

@posva posva added the improvement label Mar 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.