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

Apply an eslint rule to give forwardRef components a displayName #3441

Closed
chandlerprall opened this issue May 7, 2020 · 0 comments · Fixed by #3451
Closed

Apply an eslint rule to give forwardRef components a displayName #3441

chandlerprall opened this issue May 7, 2020 · 0 comments · Fixed by #3451
Labels

Comments

@chandlerprall
Copy link
Contributor

chandlerprall commented May 7, 2020

From reviewing #3440 - it's important to retain the component displayName when wrapping with forwardRef. I suspect this is doable in a few different ways, but either way we should find or create an eslint rule to enforce whatever pattern we come up with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant