Created
May 11, 2015 14:36
-
-
Save Nyalab/2f06894ab3f80fc25270 to your computer and use it in GitHub Desktop.
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
| class TresElegant extends Component { | |
| @autobind | |
| handleInput() { } | |
| render() { | |
| return <div onInput={this.handleInput}/> | |
| } | |
| } | |
| class MoinsElegant extends Component { | |
| handleInput() { } | |
| render() { | |
| return <div onInput={(e) => this.handleInput(e)}/> | |
| } | |
| } | |
| class TresSale extends Component { | |
| handleInput() { } | |
| render() { | |
| return <div onInput={this.handleInput.bind(this)}/> | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment