mediumReact

Create useFetch Custom Hook

Build a reusable hook to fetch API data with loading and error states.
Ensure function signatures match starter code to run test cases.
index.js
Loading...

Test Case #1

Input: API call

Expected: data loaded