Created
March 5, 2017 18:42
-
-
Save clicman/3a1c0721763b81f2eadc7ea8f95c2c02 to your computer and use it in GitHub Desktop.
This file contains 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
import React from 'react'; | |
class BadFormatting extends React.Component { | |
handleClick() { | |
console.log('clicked'); | |
} | |
render() { | |
return ( | |
<div> | |
<div> | |
<div> | |
<div> | |
<div onClick={ ::this.handleClick }> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
); | |
} | |
} | |
export default BadFormatting; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment