-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
featureBuilding something newBuilding something new
Description
Is your feature request related to a problem? Please describe.
We need to create a custom useFetch hook to make API calls.
Describe the solution you'd like
The useFetch hook should support all types of API calls like GET, POST, DELETE, PATCH, PUT.
You can have a look at this code for understanding puroposes:
https://dev.to/adetutu/how-to-create-a-custom-usefetch-hook-in-react-4p7
In the our hook should work something similar to this:
https://github.com/uidotdev/usehooks/blob/main/usehooks.com/src/content/hooks/useFetch.mdx
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureBuilding something newBuilding something new