FetcherWithComponents<TData>: Fetcher<TData> & {
    Form: React.ForwardRefExoticComponent<FetcherFormProps & React.RefAttributes<HTMLFormElement>>;
    load: ((href, opts?) => void);
    submit: FetcherSubmitFunction;
}

Type Parameters

  • TData

Type declaration

  • Form: React.ForwardRefExoticComponent<FetcherFormProps & React.RefAttributes<HTMLFormElement>>
  • load: ((href, opts?) => void)
      • (href, opts?): void
      • Parameters

        • href: string
        • Optional opts: {
              unstable_flushSync?: boolean;
          }
          • Optional unstable_flushSync?: boolean

        Returns void

  • submit: FetcherSubmitFunction