Skip to content

Instantly share code, notes, and snippets.

@kenmori
Created February 18, 2017 11:23
Show Gist options
  • Save kenmori/16935a52389f9254d42a0fd908fd8315 to your computer and use it in GitHub Desktop.
Save kenmori/16935a52389f9254d42a0fd908fd8315 to your computer and use it in GitHub Desktop.
constructor(props: Props){
super(props);
this.state = {
value : this.props.value
}
const self: any = this
self._increment = this._increment.bind(this);
self._decrement = this._decrement.bind(this);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment