Created
December 20, 2016 01:09
-
-
Save scottdomes/1d699da138bd651f1993127cc8028b70 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
componentDidUpdate() { | |
Perf.stop() | |
Perf.printInclusive() | |
Perf.printWasted() | |
} | |
resetMultiplier() { | |
Perf.start() | |
this.setState({ multiplier: 2 }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment