Skip to content

Omit undeclared children slots from app routes - #97184

Merged
gnoff merged 3 commits into
canaryfrom
jstory/omit-implicit-children-slots
Aug 27, 2026
Merged

gnoff merged 3 commits into
canaryfrom
jstory/omit-implicit-children-slots

Conversation

@gnoff

@gnoff gnoff commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Parallel route layouts can be composed entirely from named slots, but loader tree construction currently synthesizes a children fallback whenever any named slot exists. This makes children semantically required even when no page, default, or ordinary route branch declares it.

This adds experimental.explicitParallelRouteChildren and enables it by default. When enabled, children is included in a layout slot set only when the filesystem declares an ordinary route that can render at that level. A layout by itself is only structure and does not declare a route target. Ordinary descendants are traced until they reach a page or default, including through deeper named slots, before they cause children to be included. Setting the flag to false temporarily restores the legacy implicit children fallback.

This flag only controls whether children exists in the loader tree. It does not prune incomplete matchers; that is the separate experimental.strictRouteMatching behavior in the next PR.

Named slots keep their existing default and soft navigation semantics. The preceding PR retains the slots owned by an interception host without treating children specially, so an undeclared child is no longer needed for that behavior. A real children branch still uses the retention marker when it is one of the host layout slots.

Semantics

For example, this layout declares only named slots:

app/dashboard/layout.tsx
app/dashboard/@left/page.tsx
app/dashboard/@right/page.tsx

With explicitParallelRouteChildren disabled, Next.js adds a synthetic children branch whose built-in default calls notFound(), even though the layout never declared or rendered it. With the default behavior enabled, the loader tree contains only left and right, so /dashboard is matched from the route targets that actually exist.

This is different from an ordinary branch whose route targets are deeper in the tree:

app/nested/layout.tsx
app/nested/@sidebar/[...slug]/page.tsx
app/nested/content/layout.tsx
app/nested/content/@left/[...slug]/page.tsx
app/nested/content/@right/[...slug]/page.tsx

Here content really is the children branch of nested. The scan follows content through its layout and deeper named slots, so children remains required. /nested/content/anything can construct every declared slot, while /nested/incomplete only matches sidebar and is still incomplete. The distinction is whether the ordinary descendant eventually reaches a page or default, not whether a layout happens to exist along the way.

The focused children detection coverage proves that a layout-only descendant does not synthesize children, while an ordinary branch whose route targets live inside deeper named slots still does. The limitation coverage also proves that named-only trees render pages, CSS, metadata, and regular error boundaries. It intentionally asserts the current broken behavior for HTTP access fallbacks and metadata or viewport failures so those expectations can be flipped when renderer ownership no longer depends on children.

Verification

  • pnpm build-all
  • Turbopack and webpack development and production coverage for explicit-parallel-route-children-detection
  • Turbopack and webpack production coverage for interception-dynamic-segment, parallel-routes-layouts, and explicit-parallel-route-children-legacy
  • The same existing production coverage with Cache Components enabled
  • Turbopack and webpack production coverage for the documented named-only limitations

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Stats from current PR

🔴 1 regression

Metric Canary PR Change Trend
node_modules Size 558 MB 558 MB 🔴 +69.5 kB (+0%) █████
📊 All Metrics
📖 Metrics Glossary

Dev Server Metrics:

  • Listen = TCP port starts accepting connections
  • First Request = HTTP server returns successful response
  • Cold = Fresh build (no cache)
  • Warm = With cached build artifacts

Build Metrics:

  • Fresh = Clean build (no .next directory)
  • Cached = With existing .next directory

Change Thresholds:

  • Time: Changes < 50ms AND < 10%, OR < 2% are insignificant
  • Size: Changes < 1KB AND < 1% are insignificant
  • All other changes are flagged to catch regressions

⚡ Dev Server

Metric Canary PR Change Trend
Cold (Listen) 814ms 813ms ✓ ▁██▁▁
Cold (Ready in log) 815ms 816ms ✓ ▁██▂▁
Cold (First Request) 1.321s 1.316s ✓ ▁██▂▂
Warm (Listen) 813ms 813ms ✓ ▂██▂▂
Warm (Ready in log) 811ms 808ms ✓ ▁██▂▁
Warm (First Request) 1.289s 1.311s ✓ ▁██▃▂
📦 Dev Server (Webpack) (Legacy)

📦 Dev Server (Webpack)

Metric Canary PR Change Trend
Cold (Listen) 811ms 810ms ✓ ▂█▂▂▁
Cold (Ready in log) 781ms 776ms ✓ ▁█▁▂▁
Cold (First Request) 3.222s 3.219s ✓ ▁█▁▁▁
Warm (Listen) 811ms 810ms ✓ ▂█▂▂▁
Warm (Ready in log) 780ms 775ms ✓ ▁█▁▂▁
Warm (First Request) 3.194s 3.206s ✓ ▁█▁▂▁

⚡ Production Builds

Metric Canary PR Change Trend
Fresh Build 5.910s 5.975s ✓ ▂██▃▃
Cached Build 2.968s 2.946s ✓ ▁██▃▁
📦 Production Builds (Webpack) (Legacy)

📦 Production Builds (Webpack)

Metric Canary PR Change Trend
Fresh Build 23.610s 23.681s ✓ ▁█▁▂▁
Cached Build 23.826s 23.466s ✓ ▁█▁▂▁
node_modules Size 558 MB 558 MB 🔴 +69.5 kB (+0%) █████
📦 Bundle Sizes

Bundle Sizes

⚡ Turbopack

Client

Main Bundles
Canary PR Change
017_4moyv5m34.js gzip 117 B 117 B ✓
05jocc85-b73_.js gzip 341 B N/A -
0cz1d0mv5g_q7.js gzip 39.4 kB 39.4 kB ✓
0e5lgz-xcf6ln.js gzip 273 B 273 B ✓
0enhddgqs2dl-.js gzip 265 B 265 B ✓
0h34mejwa_7pd.js gzip 354 B 354 B ✓
0w853zxni3ro0.js gzip 1.36 kB N/A -
13lq2aw3_0bgw.js gzip 3.52 kB N/A -
19ll0d77yn0fq.js gzip 71.5 kB N/A -
1elt1qium-r2m.css gzip 115 B 115 B ✓
1m5vdnlf0deiv.js gzip 411 B 411 B ✓
1nigpy_mr0xvj.js gzip 339 B N/A -
1p0l8mn2wz5f2.js gzip 1.97 kB N/A -
1ph_nbsm967ot.js gzip 152 B N/A -
1s-3t9k2_uhom.js gzip 117 B N/A -
1sqoyy39jpgkq.js gzip 121 B 121 B ✓
1tf1phijqlx9j.js gzip 220 B 220 B ✓
2-54v5vj7orwp.js gzip 46.8 kB N/A -
2b05_424u1zq-.js gzip 120 B N/A -
2ca40xittx95r.js gzip 8.75 kB N/A -
2hgz42b8sldyc.js gzip 5.85 kB N/A -
2kci0vnt-49o-.js gzip 113 B 113 B ✓
2sxgl_rcrrn_p.js gzip 399 B N/A -
2u_p__ndkooh-.js gzip 5.66 kB N/A -
2vt62i17bhbdu.js gzip 2.35 kB N/A -
33ykhou7tl-4h.js gzip 7.53 kB N/A -
342di-crrg9kq.js gzip 119 B N/A -
36hfc2_979aw2.js gzip 119 B N/A -
38wfp6jjrrdfm.js gzip 131 B 131 B ✓
3dl1ilk37-30g.js gzip 117 B N/A -
3h0us7yy7bd_o.js gzip 13.1 kB N/A -
3kvxagoobts7h.js gzip 117 B N/A -
3p99hd9vwe6ae.js gzip 13 kB N/A -
3r0475panhk6m.js gzip 123 B N/A -
3s0i-weykgzrt.js gzip 125 B N/A -
3wijk2ywqgsv9.js gzip 2.52 kB N/A -
3xuguv9lsoqw7.js gzip 65.5 kB N/A -
41u5s3oe2-erp.js gzip 2.29 kB N/A -
turbopack-0d..9ejy.js gzip 3.74 kB 3.74 kB ✓
02zc7sqlpqxn3.js gzip N/A 119 B -
0dw-iyxdctoxo.js gzip N/A 65.5 kB -
0e28eh3gbwmp0.js gzip N/A 3.51 kB -
0e5ldm8_fmypq.js gzip N/A 71.5 kB -
0jwho9fkrb_t3.js gzip N/A 2.29 kB -
0longconn5mlm.js gzip N/A 123 B -
0p4l3ozbez2cz.js gzip N/A 2.35 kB -
0sbh_15ejop4o.js gzip N/A 13 kB -
0skdm-9rpid8g.js gzip N/A 117 B -
0wv-h56sz83wn.js gzip N/A 120 B -
137xup2t69ovc.js gzip N/A 1.97 kB -
1fk10s3m1oecx.js gzip N/A 400 B -
20qhkyyj2_tla.js gzip N/A 116 B -
25lb_468wpv8t.js gzip N/A 117 B -
2imyufe18bsb7.js gzip N/A 1.36 kB -
2p4n3-8-xixh_.js gzip N/A 341 B -
2vqdfieehz5do.js gzip N/A 8.75 kB -
2xn85ykzw2v1e.js gzip N/A 13.1 kB -
34knadd6wu9qg.js gzip N/A 119 B -
35eub0y5wk0-c.js gzip N/A 7.53 kB -
37-g1kp39exux.js gzip N/A 5.85 kB -
37b0_t16yn97f.js gzip N/A 153 B -
39jq2b6t6z6up.js gzip N/A 339 B -
3a9a9tvkag_-j.js gzip N/A 2.52 kB -
3d61tgick8g6b.js gzip N/A 46.8 kB -
3hk-fj9wj-l1s.js gzip N/A 5.66 kB -
3t121tj-h0kbm.js gzip N/A 125 B -
Total 299 kB 299 kB ⚠️ +4 B

Server

Middleware
Canary PR Change
middleware-b..fest.js gzip 1.02 kB 1.02 kB ✓
Total 1.02 kB 1.02 kB ✓
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 846 B 846 B ✓
Total 846 B 846 B ✓
Build Cache
Canary PR Change
00000001.sst gzip 10.1 MB 10.1 MB ✓
00000002.sst gzip 13.3 MB 14.6 MB 🔴 +1.31 MB (+10%)
00000003.sst gzip 15.4 MB 13 MB 🟢 2.36 MB (-15%)
00000004.sst gzip 12.8 MB 12.8 MB 🟢 27.8 kB (0%)
00000005.sst gzip 13.4 MB 14.4 MB 🔴 +1.08 MB (+8%)
00000006.sst gzip 2.75 MB 2.75 MB ✓
00000007.sst gzip 59 B 59 B ✓
00000008.meta gzip 89 B 89 B ✓
00000009.meta gzip 297 kB 297 kB ✓
00000010.meta gzip 297 kB 297 kB ✓
00000011.meta gzip 297 kB 297 kB ✓
00000012.sst gzip 53 kB 52.3 kB 🟢 726 B (-1%)
00000013.sst gzip 1.74 MB 1.81 MB 🔴 +63.8 kB (+4%)
00000014.sst gzip 59 B 59 B ✓
00000015.meta gzip 116 B 116 B ✓
00000016.meta gzip 327 kB 327 kB ✓
00000017.meta gzip 403 kB 404 kB ✓
00000018.sst gzip 53.8 kB 53 kB 🟢 772 B (-1%)
00000019.sst gzip 1.38 MB 1.39 MB 🔴 +12.3 kB (+1%)
00000020.sst gzip 59 B 59 B ✓
00000021.meta gzip 116 B 116 B ✓
00000022.meta gzip 327 kB 327 kB ✓
00000023.meta gzip 372 kB 372 kB ✓
00000024.sst gzip 53.8 kB 53 kB 🟢 839 B (-2%)
00000025.sst gzip 1.38 MB 1.39 MB 🔴 +11 kB (+1%)
00000026.sst gzip 59 B 59 B ✓
00000027.meta gzip 116 B 116 B ✓
00000028.meta gzip 327 kB 327 kB ✓
00000029.meta gzip 372 kB 372 kB ✓
00000030.sst gzip 53.3 kB 52.5 kB 🟢 791 B (-1%)
00000031.sst gzip 1.38 MB 1.39 MB 🔴 +11 kB (+1%)
00000032.sst gzip 59 B 59 B ✓
00000033.meta gzip 116 B 116 B ✓
00000034.meta gzip 327 kB 327 kB ✓
00000035.meta gzip 372 kB 372 kB ✓
00000036.sst gzip 53.8 kB 53 kB 🟢 829 B (-2%)
00000037.sst gzip 1.38 MB 1.39 MB 🔴 +10.9 kB (+1%)
00000038.sst gzip 59 B 59 B ✓
00000039.meta gzip 116 B 116 B ✓
00000040.meta gzip 327 kB 327 kB ✓
00000041.meta gzip 372 kB 372 kB ✓
CURRENT gzip 94 B 93 B 🟢 1 B (-1%)
LOG gzip 679 B 657 B 🟢 22 B (-3%)
Total 79.6 MB 79.8 MB ⚠️ +121 kB

📦 Webpack

Client

Main Bundles
Canary PR Change
3322-HASH.js gzip 65.7 kB N/A -
4191.HASH.js gzip 169 B N/A -
9784-HASH.js gzip 5.57 kB N/A -
b1ad9f4c-HASH.js gzip 63.5 kB N/A -
framework-HASH.js gzip 59.7 kB 59.7 kB ✓
main-app-HASH.js gzip 252 B 252 B ✓
main-HASH.js gzip 39.8 kB 39.7 kB ✓
webpack-HASH.js gzip 1.68 kB 1.68 kB ✓
3577.HASH.js gzip N/A 168 B -
578-HASH.js gzip N/A 65.8 kB -
8590-HASH.js gzip N/A 5.53 kB -
a8984546-HASH.js gzip N/A 63.5 kB -
Total 236 kB 236 kB ⚠️ +106 B
Polyfills
Canary PR Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB ✓
Total 39.4 kB 39.4 kB ✓
Pages
Canary PR Change
_app-HASH.js gzip 194 B 193 B ✓
_error-HASH.js gzip 181 B 182 B ✓
css-HASH.js gzip 334 B 331 B ✓
dynamic-HASH.js gzip 1.81 kB 1.81 kB ✓
edge-ssr-HASH.js gzip 255 B 253 B ✓
head-HASH.js gzip 349 B 351 B ✓
hooks-HASH.js gzip 382 B 384 B ✓
image-HASH.js gzip 5.02 kB 5.01 kB ✓
index-HASH.js gzip 260 B 259 B ✓
link-HASH.js gzip 2.48 kB 2.48 kB ✓
routerDirect..HASH.js gzip 317 B 318 B ✓
script-HASH.js gzip 384 B 386 B ✓
withRouter-HASH.js gzip 316 B 315 B ✓
1afbb74e6ecf..834.css gzip 106 B 106 B ✓
Total 12.4 kB 12.4 kB ✓

Server

Edge SSR
Canary PR Change
edge-ssr.js gzip 128 kB 128 kB ✓
page.js gzip 293 kB 293 kB ✓
Total 421 kB 421 kB ✅ -425 B
Middleware
Canary PR Change
middleware-b..fest.js gzip 599 B 601 B ✓
middleware-r..fest.js gzip 156 B 156 B ✓
middleware.js gzip 45.8 kB 45.5 kB ✓
edge-runtime..pack.js gzip 842 B 842 B ✓
Total 47.4 kB 47.1 kB ✅ -374 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 698 B 698 B ✓
Total 698 B 698 B ✓
Build Cache
Canary PR Change
0.pack gzip 4.8 MB 4.79 MB 🟢 10.8 kB (0%)
index.pack gzip 124 kB 124 kB ✓
index.pack.old gzip 123 kB 125 kB 🔴 +1.32 kB (+1%)
Total 5.05 MB 5.04 MB ✅ -8.99 kB

🔄 Shared (bundler-independent)

Runtimes
Canary PR Change
app-page-exp...dev.js gzip 377 kB 377 kB ✓
app-page-exp..prod.js gzip 207 kB 207 kB ✓
app-page-tur...dev.js gzip 377 kB 377 kB ✓
app-page-tur..prod.js gzip 207 kB 207 kB ✓
app-page-tur...dev.js gzip 373 kB 373 kB ✓
app-page-tur..prod.js gzip 205 kB 205 kB ✓
app-page.run...dev.js gzip 373 kB 373 kB ✓
app-page.run..prod.js gzip 205 kB 205 kB ✓
app-route-ex...dev.js gzip 82.9 kB 82.9 kB ✓
app-route-ex..prod.js gzip 55.8 kB 55.8 kB ✓
app-route-tu...dev.js gzip 82.9 kB 82.9 kB ✓
app-route-tu..prod.js gzip 55.9 kB 55.9 kB ✓
app-route-tu...dev.js gzip 82.5 kB 82.5 kB ✓
app-route-tu..prod.js gzip 55.6 kB 55.6 kB ✓
app-route.ru...dev.js gzip 82.4 kB 82.4 kB ✓
app-route.ru..prod.js gzip 55.6 kB 55.6 kB ✓
dev-validati...dev.js gzip 139 kB 139 kB ✓
dev-validati...dev.js gzip 139 kB 139 kB ✓
dev-validati...dev.js gzip 137 kB 137 kB ✓
dev-validati...dev.js gzip 137 kB 137 kB ✓
dist_client_...dev.js gzip 324 B 324 B ✓
dist_client_...dev.js gzip 326 B 326 B ✓
dist_client_...dev.js gzip 318 B 318 B ✓
dist_client_...dev.js gzip 317 B 317 B ✓
pages-api-tu...dev.js gzip 46.3 kB 46.3 kB ✓
pages-api-tu..prod.js gzip 34.3 kB 34.3 kB ✓
pages-api.ru...dev.js gzip 46.2 kB 46.2 kB ✓
pages-api.ru..prod.js gzip 34.3 kB 34.3 kB ✓
pages-turbo....dev.js gzip 54.7 kB 54.7 kB ✓
pages-turbo...prod.js gzip 39.7 kB 39.7 kB ✓
pages.runtim...dev.js gzip 54.7 kB 54.7 kB ✓
pages.runtim..prod.js gzip 39.6 kB 39.6 kB ✓
server.runti..prod.js gzip 66 kB 66 kB ✓
use-cache-pr...dev.js gzip 73.4 kB 73.4 kB ✓
use-cache-pr...dev.js gzip 73.4 kB 73.4 kB ✓
use-cache-pr...dev.js gzip 71.7 kB 71.7 kB ✓
use-cache-pr...dev.js gzip 71.6 kB 71.6 kB ✓
Total 4.14 MB 4.14 MB ⚠️ +17 B
📝 Changed Files (1 file)

Files with changes:

  • server.runtime.prod.js
View diffs
server.runtime.prod.js

Diff too large to display

📎 Tarball URL
https://vercel-packages.vercel.app/next/commits/e122d5eff7c9b8588083e02f620c5f42d3514694/next

Commit: e122d5e

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 581a78c

@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 1641364 to 1d045ae Compare August 11, 2026 16:31
@gnoff gnoff changed the title Treat undeclared children slots as empty Add strict matching for undeclared children slots Aug 11, 2026
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 6a76677 to 414295e Compare August 11, 2026 18:02
@gnoff
gnoff changed the base branch from canary to jstory/loader-tree-children-ordering August 11, 2026 18:04
@gnoff gnoff changed the title Add strict matching for undeclared children slots Omit undeclared children slots from app routes Aug 11, 2026
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 414295e to 37ce26b Compare August 11, 2026 18:27
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 37ce26b to 6fd8271 Compare August 11, 2026 18:31
Base automatically changed from jstory/loader-tree-children-ordering to canary August 11, 2026 21:30
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch 3 times, most recently from b7f3d66 to 2cce1a8 Compare August 11, 2026 22:07
@gnoff
gnoff changed the base branch from canary to jstory/invalidate-deferred-entry-cache August 11, 2026 22:09
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 2cce1a8 to d759412 Compare August 11, 2026 22:30
Base automatically changed from jstory/invalidate-deferred-entry-cache to canary August 12, 2026 15:01
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch 2 times, most recently from da19ae6 to 7d7ce78 Compare August 12, 2026 15:10
@gnoff
gnoff changed the base branch from canary to jstory/omit-default-slot-patches August 12, 2026 15:13
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 7d7ce78 to a4ed570 Compare August 12, 2026 22:40
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from a4ed570 to b7a9d36 Compare August 13, 2026 00:52
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch 2 times, most recently from c628e68 to c9ff857 Compare August 13, 2026 15:20
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 27e5d25 to 582a569 Compare August 14, 2026 20:19
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 582a569 to 3956600 Compare August 15, 2026 15:45
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 3956600 to 98db4ac Compare August 15, 2026 16:37
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch 2 times, most recently from 3956600 to d1e8ed6 Compare August 16, 2026 17:06
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch 2 times, most recently from 1db45fe to 1d55754 Compare August 20, 2026 23:26
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from 1d55754 to a106bbf Compare August 21, 2026 19:35
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch 2 times, most recently from 2e0a490 to e122d5e Compare August 26, 2026 22:52
Base automatically changed from jstory/omit-default-slot-patches to canary August 27, 2026 16:27
gnoff added 3 commits August 27, 2026 09:27
Parallel route layouts can be composed entirely from named slots, but loader tree construction currently synthesizes a children fallback whenever any named slot exists. This makes children semantically required even when no page, default, or ordinary route branch declares it.

This changes strict route matching to omit children from a layout slot set unless the filesystem declares an ordinary route that can render at that level. A layout by itself is only structure and does not declare a route target. Ordinary descendants are traced until they reach a page or default, including through deeper named slots, before they cause children to be included.

For example, this layout declares only named slots:

    app/dashboard/layout.tsx
    app/dashboard/@left/page.tsx
    app/dashboard/@right/page.tsx

With strictRouteMatching disabled, Next.js adds a synthetic children branch whose built-in default calls notFound(), even though the layout never declared or rendered it. With strictRouteMatching enabled, the loader tree contains only left and right, so /dashboard is matched from the route targets that actually exist.

This is different from an ordinary branch whose route targets are deeper in the tree:

    app/nested/layout.tsx
    app/nested/@sidebar/[...slug]/page.tsx
    app/nested/content/layout.tsx
    app/nested/content/@left/[...slug]/page.tsx
    app/nested/content/@right/[...slug]/page.tsx

Here content really is the children branch of nested. The scan follows content through its layout and deeper named slots, so children remains required. /nested/content/anything can construct every declared slot, while /nested/incomplete only matches sidebar and is still incomplete.

Named slots keep their existing default and soft navigation semantics. Interception routes no longer need a null component for an undeclared child, while a real children branch still uses the default marker needed to preserve its active state. An explicit experimental.strictRouteMatching: false keeps the legacy synthetic child during rollout.
Add coverage for named-only loader trees that do not have a children branch. The tests verify that pages, CSS, metadata, and regular error boundaries still work, and intentionally assert the current broken behavior for HTTP access fallbacks and metadata or viewport failures so those expectations can be flipped when renderer ownership no longer depends on children.
This renames the flag controlling implicit children detection to experimental.explicitParallelRouteChildren and enables the corrected behavior by default. A named-only layout like @left and @right no longer synthesizes an unrelated children slot, while an ordinary descendant page or default still declares children. Set the flag to false to temporarily restore legacy matching.

This keeps experimental.strictRouteMatching available for the separate matcher-pruning change. This change only decides whether children exists; it does not remove incomplete route matchers.
@gnoff
gnoff force-pushed the jstory/omit-implicit-children-slots branch from e122d5e to 581a78c Compare August 27, 2026 16:27
@gnoff
gnoff merged commit 05ed7c1 into canary Aug 27, 2026
226 of 228 checks passed
@gnoff
gnoff deleted the jstory/omit-implicit-children-slots branch August 27, 2026 19:22
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants