Skip to content

UseFetchOptions

UseFetchOptions<T> = RequestOptions<T> & object

Defined in: packages/fetch-kit/src/react/use-fetch.ts:17

Options for useFetch.

optional deps?: ReadonlyArray<unknown>

Dependencies that, when changed, trigger a refetch.

optional enabled?: boolean

When false, the request will not run automatically. Defaults to true.

T