Keep original component name when building to JS
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 1.6k
- Avg merge
- 3d 9m
- Merged PRs (30d)
- 59
Description
### Provide a general summary of the feature here
It'd be helpful if the name of components shown in React DevTools include the original component name. It'd make it easier for developer to debug their application.
https://syueo.csb.app/
### 🤔 Expected Behavior?
`@react-spectrum` and `@react-aria`'s components shown in React DevTools has meaningful name.
### 😯 Current Behavior
`@react-spectrum` and `@react-aria`'s components shown in React DevTools has auto-generated name. It's quite difficult to tell what component it is from the name alone.
### 💁 Possible Solution
_No response_
### 🔦 Context
I was trying to debug a component created using `@react-aria`'s hooks and components, but the name makes it hard for me to distinguish them from each others.
### 💻 Examples
_No response_
### 🧢 Your Company/Team
_No response_
### 🕷 Tracking Issue
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.