Skip to content

Instantly share code, notes, and snippets.

@dileno
Created October 19, 2019 18:09
Show Gist options
  • Save dileno/949b4cb898809ee013ba6e47f94d08c8 to your computer and use it in GitHub Desktop.
Save dileno/949b4cb898809ee013ba6e47f94d08c8 to your computer and use it in GitHub Desktop.
useEffect
useEffect(() => {
fetchRandomUser();
}, []);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment