- getFetcherType(
fetcher: Pick<
FetcherWithComponents<unknown>,
"formMethod" | "data" | "state",
>,
navigation: Pick<Navigation, "formMethod" | "state">,
): FetcherType Parameters
- fetcher: Pick<FetcherWithComponents<unknown>, "formMethod" | "data" | "state">
- navigation: Pick<Navigation, "formMethod" | "state">
Derive the deprecated
fetcher.type
from the current state of a fetcher and navigation.