Last active
November 20, 2016 22:01
-
-
Save nesbtesh/b4a3f69bd13c46f6a7692a5bc5e4840e to your computer and use it in GitHub Desktop.
Dumb Components in React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DumbComponent = (props) => { | |
return (<div />); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would change the argument to just
(props)
, since the destructuring you do, while common and useful, is done to get particular props out of theprops
arg.