-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use displayName of parent non-glamorous component name #12
Comments
Hi @emattias! I've thought about how we could do something like that... I wonder though what the value would be, because you already have |
I rarely use react devtools. I use There I don't know about |
Ok, I think I can get behind that. Might be a little challenging, but I'd be open to a pull request |
I would like it to use the displayName of my custom components since I rarely give the glamorous components names.
This example hopefully explains what I mean better:
In the example above the first div would get the className of something like
SideNav-div
and the<g.Figure />
would get something likeSideNav-div-figure
The text was updated successfully, but these errors were encountered: