react-haiku icon indicating copy to clipboard operation
react-haiku copied to clipboard

Added useFetch hook | The useFetch hook enables simplified data fetch…

Open dakshverma22 opened this issue 2 years ago • 1 comments

useFetch: Add useFetch hook

I have tried to solve all the points that were mentioned in the issue

The useFetch hook streamlines data fetching from APIs in our project, simplifying the process for developers and promoting code reusability.

This hook leverages React's built-in Hooks, such as useState, useEffect, and useCallback, to manage the fetching process efficiently. Axios library has been used for data fetching. It also employs consistent error handling to facilitate better user feedback and error reporting.

Resolves #33

dakshverma22 avatar Jul 20 '23 15:07 dakshverma22

hello @m10rten , could you please review the following PR

dakshverma22 avatar Jul 31 '23 05:07 dakshverma22