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 · 3 comments
Open

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

rikukissa opened this issue May 3, 2022 · 3 comments
Assignees
Milestone

Comments

@rikukissa
Copy link
Member

rikukissa commented May 3, 2022

Product value

Adding this helps core developers find the UI component they see on the screen from the codebase. This translates to better development experience especially to new team members and increases delivery speed.

Description

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
Member Author

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

@rikukissa
Copy link
Member Author

Pushing to high priority as this would help new developers a lot.

@euanmillar euanmillar moved this from Backlog to Ready to build in OpenCRVS Core Oct 18, 2024
@euanmillar euanmillar added this to the v1.7.0 milestone Oct 18, 2024
@jamil314 jamil314 self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Completed
Development

No branches or pull requests

4 participants