# Function useFetcher

- useFetcher<TData>(__namedParameters?): FetcherWithComponents<TData>

- Interacts with route loaders and actions without causing a navigation. Great for any interaction that stays on the same page.

  #### Type Parameters

  - TData = any

  #### Parameters

  - `Optional` __namedParameters: {
    key?: string;
    }

    - ##### `Optional` key?: string

  #### Returns FetcherWithComponents<TData>

  - Defined in common/temp/node_modules/.pnpm/react-router-dom@6.23.1_react-dom@18.3.1+react@18.3.1/node_modules/react-router-dom/dist/index.d.ts:266