diff --git a/packages/remix-react/routes.tsx b/packages/remix-react/routes.tsx index 9c183ba9746..fc324290863 100644 --- a/packages/remix-react/routes.tsx +++ b/packages/remix-react/routes.tsx @@ -476,14 +476,6 @@ export function createClientRoutes( }); } - if (needsRevalidation) { - lazyRoute.shouldRevalidate = wrapShouldRevalidateForHdr( - route.id, - mod.shouldRevalidate, - needsRevalidation - ); - } - return { ...(lazyRoute.loader ? { loader: lazyRoute.loader } : {}), ...(lazyRoute.action ? { action: lazyRoute.action } : {}),