Created
December 3, 2015 11:04
-
-
Save sanjaypoyzer/d14ada49406368efbd5e to your computer and use it in GitHub Desktop.
Toggle this.state.thing
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
toggleThing: function(){ | |
this.state.thing ? this.setState({thing:false}) : this.setState({thing:true}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment