We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbf8e3 commit b6ed43dCopy full SHA for b6ed43d
packages/react-router/lib/dom/ssr/routes.tsx
@@ -604,14 +604,6 @@ function getShouldRevalidateFunction(
604
}
605
606
607
- // Single fetch revalidates by default, so override the RR default value which
608
- // matches the multi-fetch behavior with `true`
609
- if (ssr && route.shouldRevalidate) {
610
- let fn = route.shouldRevalidate;
611
- return (opts: ShouldRevalidateFunctionArgs) =>
612
- fn({ ...opts, defaultShouldRevalidate: true });
613
- }
614
-
615
return route.shouldRevalidate;
616
617
0 commit comments