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 c4642c8 commit bbe4a73Copy full SHA for bbe4a73
packages/react-router/lib/rsc/server.rsc.ts
@@ -1188,8 +1188,7 @@ async function getRSCRouteMatch({
1188
const params = match.params;
1189
// TODO: DRY this up once it's fully fleshed out
1190
let element: React.ReactElement | undefined = undefined;
1191
- let shouldLoadRoute =
1192
- !routeIdsToLoad || routeIdsToLoad.includes(route.id);
+ let shouldLoadRoute = !routeIdsToLoad || routeIdsToLoad.includes(route.id);
1193
// Only bother rendering Server Components for routes that we're surfacing,
1194
// so nothing at/below an error boundary and prune routes if included in
1195
// `routeIdsToLoad`. This is specifically important when a middleware
0 commit comments