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

Mark Functional components in DOM so thay can be displayed in vue developer console #8701

Closed
1099511627776 opened this issue Aug 23, 2018 · 3 comments

Comments

@1099511627776
Copy link

1099511627776 commented Aug 23, 2018

What problem does this feature solve?

Functional components will be displayable and debugable in vue developer console

What does the proposed API look like?

  1. Add additional property vue_func to HTMLelement that contains object with basic information about functional component (e.g. context, props etc).
  2. Property from 1 will be scanned with vue developer tools and displayed
@panstromek
Copy link

Support for functional components is already in the making AFAIK. It has been mentioned in Vue.js Sprint summary lately.

@posva
Copy link
Member

posva commented Aug 23, 2018

I believe this is already tracked by @Akryum somewhere else. @Akryum reopen if you really want to track this in both sides 🙂

@posva posva closed this as completed Aug 23, 2018
@Akryum
Copy link
Member

Akryum commented Aug 24, 2018

In devtools 5.0 functional components are displayed. We just need to merge #8586 to be able to display their props.

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

No branches or pull requests

4 participants