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

createClassStateless - add displayName argument #118

Closed

Conversation

coot
Copy link

@coot coot commented Sep 30, 2017

No description provided.

@coot
Copy link
Author

coot commented Sep 30, 2017

Having displayName is really nice for debugging, but also some libraries require it (e.g. Enzyme).

@ethul
Copy link
Contributor

ethul commented Oct 3, 2017

Is there any chance the displayName can be inferred?

facebook/react#10060 (comment)

@coot
Copy link
Author

coot commented Oct 4, 2017 via email

@coot
Copy link
Author

coot commented Oct 8, 2017

I will add this to react-16 PR.

@coot coot closed this Oct 8, 2017
@coot coot mentioned this pull request Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants