Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Pass displayName to basicClassCreator for easier debugging #73

Closed
faergeek opened this issue Oct 9, 2015 · 1 comment · Fixed by #74
Closed

Pass displayName to basicClassCreator for easier debugging #73

faergeek opened this issue Oct 9, 2015 · 1 comment · Fixed by #74

Comments

@faergeek
Copy link
Contributor

faergeek commented Oct 9, 2015

I know that you just upgraded it to use stateless components, but I think it would be better to set displayName as it will make debugging much easier for us and everyone else.

We can set displayName as a static prop on class or as a name of a function (so babel will set it for us).
But I'm not sure if we can use stateless components and set function name dynamically.

@faergeek
Copy link
Contributor Author

faergeek commented Oct 9, 2015

Actually, I'm already working on PR. We can use stateless components here.

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

Successfully merging a pull request may close this issue.

1 participant