use-fetch
Fetch data with built-in loading and error states
Source
Docs
PackageIcon
Usage
The useFetch hook sends a GET request to the specified URL and returns the response data, loading state, error,
refetch and abort functions.
Fetching
Definition
Exported types
UseFetchOptions and UseFetchReturnValue types are exported from the @mantine/hooks package;
you can import them in your application: