Created
January 23, 2020 18:38
-
-
Save simistern/494e44c65824a9c300fca48a1e28d80a to your computer and use it in GitHub Desktop.
This file contains hidden or 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(prevProps, prevState){ | |
if(prevState.foo !== this.state.foo){ | |
...do the thing | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment