-
Notifications
You must be signed in to change notification settings - Fork 27.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix parallel route top-level catch-all normalization logic to support…
… nested explicit (non-catchall) slot routes (#60776) Fix NEXT-2165 ### What? Addresses the limitation of #60240, where a dummy `default` file is required in parallel route child slot to prevent errors in dev server rendering (`TypeError: Cannot read properties of undefined (reading 'clientModules')`) as well as errors in build and deploy (`Error: ENOENT: no such file or directory, lstat ‘/vercel/path0/.next/server/app/parallel-route/[section]/@part/[partSlug]/page_client-reference-manifest.js’`) Without the `default.tsx`, builds and deployments will fail with: <img width="956" alt="CleanShot 2024-01-18 at 02 12 36@2x" src="https://github.com/vercel/next.js/assets/179761/80ba61bd-6ec0-4b16-a393-dc9375227e19"> local dev server will also crash with: <img width="986" alt="CleanShot 2024-01-18 at 02 13 19@2x" src="https://github.com/vercel/next.js/assets/179761/cc500a32-b2f8-47b4-999e-e57cf5141b2f"> > TypeError: Cannot read properties of undefined (reading 'clientModules') ### Why? Since `default.tsx` is not a compulsory when you have slot that are specific and ends with a dynamic route segment, this PR extends support so that it is possible mixing catch-all routes with specific non-catchall routes without requiring an additional `default.tsx` . This PR will allow the following test cases to pass: ``` it('should not add the catch-all route to segments that have a more specific [dynamicRoute]', () => { const appPaths = { '/': ['/page'], '/[[...catchAll]]': ['/[[...catchAll]]/page'], '/nested/[foo]/[bar]/default': [ '/nested/[foo]/[bar]/default', '/nested/[foo]/[bar]/@slot0/default', '/nested/[foo]/[bar]/@slot2/default', ], '/nested/[foo]/[bar]': [ '/nested/[foo]/[bar]/@slot0/page', '/nested/[foo]/[bar]/@slot1/page', ], '/nested/[foo]/[bar]/[baz]': [ '/nested/[foo]/[bar]/@slot0/[baz]/page', '/nested/[foo]/[bar]/@slot1/[baz]/page', ], '/[locale]/nested/[foo]/[bar]/[baz]/[qux]': [ '/[locale]/nested/[foo]/[bar]/@slot1/[baz]/[qux]/page', ], } const initialAppPaths = JSON.parse(JSON.stringify(appPaths)) normalizeCatchAllRoutes(appPaths) expect(appPaths).toMatchObject(initialAppPaths) }) ... ``` ```it('should not add the catch-all route to segments that have a more specific [dynamicRoute]', () => { const appPaths = { '/': ['/page'], '/[[...catchAll]]': ['/[[...catchAll]]/page'], '/nested/[foo]/[bar]/default': [ '/nested/[foo]/[bar]/default', '/nested/[foo]/[bar]/@slot0/default', '/nested/[foo]/[bar]/@slot2/default', ], '/nested/[foo]/[bar]': [ '/nested/[foo]/[bar]/@slot0/page', '/nested/[foo]/[bar]/@slot1/page', ], '/nested/[foo]/[bar]/[baz]': [ '/nested/[foo]/[bar]/@slot0/[baz]/page', '/nested/[foo]/[bar]/@slot1/[baz]/page', ], '/[locale]/nested/[foo]/[bar]/[baz]/[qux]': [ '/[locale]/nested/[foo]/[bar]/@slot1/[baz]/[qux]/page', ], } ... ``` and allow parallel routes defined in this [code repro](https://github.com/williamli/nextjs-NEXT-2165) to build.  ### How? `packages/next/src/build/normalize-catchall-routes.ts` is extended to check `appPath` to see if it is: 1. the route is not a catchall 2. `isMoreSpecific` than the closest `catchAllRoute`. where `isMoreSpecific` is defined as: ``` function isMoreSpecific(pathname: string, catchAllRoute: string): boolean { const pathnameDepth = pathname.split('/').length const catchAllRouteDepth = catchAllRoute.split('/').length - 1 return pathnameDepth > catchAllRouteDepth } ``` --------- Co-authored-by: Zack Tanner <zacktanner@gmail.com>
- Loading branch information
Showing
30 changed files
with
358 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...2e/app-dir/parallel-routes-catchall-dynamic-segment/app/[locale]/[[...catchAll]]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/[[...catchAll]]/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...lel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot0/[baz]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot0/[baz]/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...rallel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot0/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot0/default.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
.../parallel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot0/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot0/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...utes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot1/[baz]/[qux]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot1/[baz]/[qux]/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...lel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot1/[baz]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot1/[baz]/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
.../parallel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot1/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot1/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...rallel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/@slot2/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/[foo]/[bar]/@slot2/default.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...-dir/parallel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/[foo]/[bar]/default.tsx</div> | ||
} |
10 changes: 10 additions & 0 deletions
10
...p-dir/parallel-routes-catchall-dynamic-segment/app/[locale]/nested/[foo]/[bar]/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export default function Layout({ children, slot0, slot1, slot2 }) { | ||
return ( | ||
<> | ||
Children: <div id="nested-children">{children}</div> | ||
Slot0: <div id="slot0">{slot0}</div> | ||
Slot1: <div id="slot1">{slot1}</div> | ||
Slot2: <div id="slot2">{slot2}</div> | ||
</> | ||
) | ||
} |
11 changes: 11 additions & 0 deletions
11
test/e2e/app-dir/parallel-routes-catchall-dynamic-segment/app/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
|
||
export default function Root({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<html> | ||
<body> | ||
Children: <div id="children">{children}</div> | ||
</body> | ||
</html> | ||
) | ||
} |
3 changes: 3 additions & 0 deletions
3
test/e2e/app-dir/parallel-routes-catchall-dynamic-segment/app/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default async function Home() { | ||
return <div>Root Page</div> | ||
} |
6 changes: 6 additions & 0 deletions
6
test/e2e/app-dir/parallel-routes-catchall-dynamic-segment/next.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
const nextConfig = {} | ||
|
||
module.exports = nextConfig |
87 changes: 87 additions & 0 deletions
87
...parallel-routes-catchall-dynamic-segment/parallel-routes-catchall-dynamic-segment.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
import { createNextDescribe } from 'e2e-utils' | ||
|
||
createNextDescribe( | ||
'parallel-routes-catchall-dynamic-segment', | ||
{ | ||
files: __dirname, | ||
}, | ||
({ next }) => { | ||
it('should match default and dynamic segment paths before catch-all', async () => { | ||
let browser = await next.browser('/en/nested') | ||
|
||
// we have a top-level catch-all but the /nested dir doesn't have a default/page until the /[foo]/[bar] segment | ||
// so we expect the top-level catch-all to render | ||
expect(await browser.elementById('children').text()).toBe( | ||
'/[locale]/[[...catchAll]]/page.tsx' | ||
) | ||
|
||
browser = await next.browser('/en/nested/foo/bar') | ||
|
||
// we're now at the /[foo]/[bar] segment, so we expect the matched page to be the default (since there's no page defined) | ||
expect(await browser.elementById('nested-children').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/default.tsx' | ||
) | ||
|
||
// we expect the slot0 to match since there's a page defined at this segment | ||
expect(await browser.elementById('slot0').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot0/page.tsx' | ||
) | ||
|
||
// we expect the slot1 to match since there's a page defined at this segment | ||
expect(await browser.elementById('slot1').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot1/page.tsx' | ||
) | ||
|
||
// we expect the slot2 to match since there's a default page defined at this segment | ||
expect(await browser.elementById('slot2').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot2/default.tsx' | ||
) | ||
|
||
browser = await next.browser('/en/nested/foo/bar/baz') | ||
|
||
// the page slot should still be the one matched at the /[foo]/[bar] segment because it's the default and we | ||
// didn't define a page at the /[foo]/[bar]/[baz] segment | ||
expect(await browser.elementById('nested-children').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/default.tsx' | ||
) | ||
|
||
// we do have a slot for the `[baz]` dynamic segment in slot0 and so we expect that to match | ||
expect(await browser.elementById('slot0').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot0/[baz]/page.tsx' | ||
) | ||
|
||
// we do have a slot for the `[baz]` dynamic segment in slot1 and so we expect that to match | ||
expect(await browser.elementById('slot1').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot1/[baz]/page.tsx' | ||
) | ||
|
||
// we do not have a slot for the `[baz]` dynamic segment in slot2 and so the default page is matched | ||
expect(await browser.elementById('slot2').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot2/default.tsx' | ||
) | ||
|
||
browser = await next.browser('/en/nested/foo/bar/baz/qux') | ||
|
||
// the page slot should still be the one matched at the /[foo]/[bar] segment because it's the default and we | ||
// didn't define a page at the /[foo]/[bar]/[baz]/[qux] segment | ||
expect(await browser.elementById('nested-children').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/default.tsx' | ||
) | ||
|
||
// we do not have a slot for the `[baz]/[qux]` dynamic segment in slot0 and so we expect the default page at `@slot0/` to be returned | ||
expect(await browser.elementById('slot0').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot0/default.tsx' | ||
) | ||
|
||
// we do have a slot for the `[baz]/[qux]` dynamic segment in slot1 and so we expect that to no match | ||
expect(await browser.elementById('slot1').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot1/[baz]/[qux]/page.tsx' | ||
) | ||
|
||
// we do not have a slot for the `[baz]/[qux]` dynamic segment in slot2 and so we expect the default page at `@slot2/` to be returned | ||
expect(await browser.elementById('slot2').text()).toBe( | ||
'/[locale]/nested/[foo]/[bar]/@slot2/default.tsx' | ||
) | ||
}) | ||
} | ||
) |
3 changes: 3 additions & 0 deletions
3
...-dir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/[[...catchAll]]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/[[...catchAll]]/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...ir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/@slot0/bar/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/@slot0/bar/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...dir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/@slot0/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/@slot0/default.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...ir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/@slot0/foo/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/@slot0/foo/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...ir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/@slot1/baz/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page({ params }) { | ||
return <div>/[locale]/nested/@slot1/baz/page.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...dir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/@slot1/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/@slot1/default.tsx</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
...2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/default.tsx</div> | ||
} |
9 changes: 9 additions & 0 deletions
9
...e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export default function Layout({ children, slot0, slot1 }) { | ||
return ( | ||
<> | ||
Children: <div id="nested-children">{children}</div> | ||
Slot0: <div id="slot0">{slot0}</div> | ||
Slot1: <div id="slot1">{slot1}</div> | ||
</> | ||
) | ||
} |
3 changes: 3 additions & 0 deletions
3
test/e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/app/[locale]/nested/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Page() { | ||
return <div>/[locale]/nested/page.tsx</div> | ||
} |
11 changes: 11 additions & 0 deletions
11
test/e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/app/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
|
||
export default function Root({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<html> | ||
<body> | ||
Children: <div id="children">{children}</div> | ||
</body> | ||
</html> | ||
) | ||
} |
3 changes: 3 additions & 0 deletions
3
test/e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/app/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default async function Home() { | ||
return <div>Root Page</div> | ||
} |
6 changes: 6 additions & 0 deletions
6
test/e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/next.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
const nextConfig = {} | ||
|
||
module.exports = nextConfig |
Oops, something went wrong.