mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #866] App Router sibling interception loses source parallel-slot context #192
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NathanDrake2406 on GitHub (Apr 21, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/866
Summary
Vinext does not fully match Next.js for sibling intercepted routes paired with parallel slots.
The Next.js reference shape is:
app/(group)/intercepting-parallel-modal/[username]/@feed/page.jsapp/(group)/intercepting-parallel-modal/[username]/@modal/(..)photo/[id]/page.jsapp/(group)/intercepting-parallel-modal/photo/[id]/page.jsIn vinext, this exposed two gaps:
page.tsxExpected
Navigating from
/parallel-sibling-modal/vercelto/parallel-sibling-modal/photo/42should keep the source feed rendered withusername=vercel, mount the modal withid=42, and keep the URL at the target path.Actual
Before the fix, the slot-only source route 404'd. After route discovery was fixed, the source feed lost
usernamebecause only target params were used.Reference
Next.js reference:
test/e2e/app-dir/parallel-routes-and-interception/app/(group)/intercepting-parallel-modal