This function is a generic API handler that fetches data from a specified path using the Fetch API. It provides options for customizing the fetch request, handling loading state, aborting the request, and error handling.
The type of the data returned from the API
The relative or absolute path to fetch from
An object containing optional configuration options for the API handler
This function is a generic API handler that fetches data from a specified path using the Fetch API. It provides options for customizing the fetch request, handling loading state, aborting the request, and error handling.