Skip to content

Commit

Permalink
Remove uneeded server route hydrate setting
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Dec 6, 2023
1 parent a94905a commit 06c42d2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/remix-react/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ export function createServerRoutes(
// for a static render
};

// Let React Router know whether to run this on hydration
if (dataRoute.loader) {
dataRoute.loader.hydrate = shouldHydrateRouteLoader(route, routeModule);
}

let children = createServerRoutes(
manifest,
routeModules,
Expand Down

0 comments on commit 06c42d2

Please sign in to comment.