Skip to content

Instantly share code, notes, and snippets.

@tylerlee
Last active March 22, 2016 13:12
Show Gist options
  • Save tylerlee/1a808312bb0a0eb5d70f to your computer and use it in GitHub Desktop.
Save tylerlee/1a808312bb0a0eb5d70f to your computer and use it in GitHub Desktop.
seeState: function (e) {
e.preventDefault();
console.log(this.state);
},
render: function () {
return (
<button onClick={this.seeState} />
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment