Skip to content

Instantly share code, notes, and snippets.

@scottdomes
Created December 20, 2016 01:09
Show Gist options
  • Save scottdomes/1d699da138bd651f1993127cc8028b70 to your computer and use it in GitHub Desktop.
Save scottdomes/1d699da138bd651f1993127cc8028b70 to your computer and use it in GitHub Desktop.
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