Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

useRevalidator

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

function useRevalidator(): {
revalidate: () => void;
state: RevalidationState;
}
;
§
useRevalidator(): {
revalidate: () => void;
state: RevalidationState;
}
[src]

§Return Type

§
{
revalidate: () => void;
state: RevalidationState;
}
[src]