You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: