FetcherWithComponents
react-router

FetcherWithComponents type

type FetcherWithComponents = Fetcher<TData> & { 
  Form: React.ForwardRefExoticComponent<FetcherFormProps & React.RefAttributes<HTMLFormElement>>,
  load: {  },
  submit: FetcherSubmitFunction,
}

The return value of useFetcher that keeps track of the state of a fetcher.

let fetcher = useFetcher();
Docs and examples CC 4.0