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

add rule to keep functional component declarations consistent #86

Open
travi opened this issue Apr 17, 2018 · 0 comments
Open

add rule to keep functional component declarations consistent #86

travi opened this issue Apr 17, 2018 · 0 comments
Labels

Comments

@travi
Copy link
Contributor

travi commented Apr 17, 2018

named function declarations have the benefit of defining the displayName automatically, so there is some additional benefit beyond just consistency

do we want to limit this to just components, or do we want to be more consistent with named functions in general

@travi travi added the react label Apr 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant