mediumReact
Create Custom useFetch Hook
Implement a custom React hook that fetches API data and manages loading and error states.
Ensure function signatures match starter code to run test cases.
index.js
Loading...
Test Case #1
Input: https://api.example.com/users
Expected: data loaded