Created
May 22, 2019 10:19
-
-
Save roeib/3fd88d487574e950d95bb92e79d4f392 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
// only run on mount. pass an empty array | |
useEffect(() => { | |
// only runs once | |
}, []); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment