Effects and Data Fetching, useEffect Clean Up Function, Cleaning Up Data Fetching,
-
Updated
Mar 6, 2024 - JavaScript
Effects and Data Fetching, useEffect Clean Up Function, Cleaning Up Data Fetching,
Leaderboard App making Api calling using React Hooks
The Effect should execute, and an API call should be made only once, so pass empty dependency array as a second argument to the useEffect
Fetching data and useEffect
Add a description, image, and links to the dependency-array topic page so that developers can more easily learn about it.
To associate your repository with the dependency-array topic, visit your repo's landing page and select "manage topics."