This repo shows how to create your very own useFetch custom hook in React to fetch Data in your React Components
Youtube Tutorial Link - https://youtu.be/b6dnwttsdTo
-
Create react app: https://reactjs.org/docs/create-a-new-react-app.html
-
Random User data API: https://random-data-api.com/api/users/random_user
-
Random Address data API: https://random-data-api.com/api/address/random_address
-
GitHub Code for the project: https://github.com/FullstackSimplified/react-useFetch-custom-hook