# Function useRevalidator

- useRevalidator(): {
  revalidate: (() => void);
  state: RevalidationState;
  }

- Returns a revalidate function for manually triggering revalidation, as well as the current state of any manual revalidations

  #### Returns {
  revalidate: (() => void);
  state: RevalidationState;
  }

  - ##### revalidate: (() => void)

    - - (): void

      - #### Returns void

  - ##### state: RevalidationState

  - Defined in common/temp/node_modules/.pnpm/react-router@6.23.1_react@18.3.1/node_modules/react-router/dist/lib/hooks.d.ts:139