# Interface ShouldRevalidateFunction

Route shouldRevalidate function signature. This runs after any submission (navigation or fetcher), so we flatten the navigation/fetcher submission onto the arguments. It shouldn't matter whether it came from a navigation or a fetcher, what really matters is the URLs and the formData since loaders have to re-run based on the data models that were potentially mutated.

interface ShouldRevalidateFunction ((args) => boolean)

- ShouldRevalidateFunction(args): boolean

- #### Parameters

  - args: ShouldRevalidateFunctionArgs

  #### Returns boolean

  - Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:182