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

Make sure React component names can be seen in React DevTools #2988

Open
rikukissa opened this issue May 3, 2022 · 2 comments
Open

Make sure React component names can be seen in React DevTools #2988

rikukissa opened this issue May 3, 2022 · 2 comments

Comments

@rikukissa
Copy link
Collaborator

rikukissa commented May 3, 2022

Currently many of our styled components are only shown as styled.* which makes it difficult for new developers to understand where to find the components they are looking at

image.png

This could be configured as part of Craco
https://styled-components.com/docs/tooling

Notice that this tool strengthens the dependency to Webpack, which might not be what we want in the future.

@euanmillar
Copy link
Collaborator

@rikukissa should we close since we are going with Vite?

@rikukissa
Copy link
Collaborator Author

I think we also need a Vite plugin to get this to work :/

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

No branches or pull requests

3 participants