Nested parallel routes slot rendered after navigating back #66502
Labels
bug
Issue was opened via the bug report template.
locked
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Link to the code that reproduces this issue
https://github.com/jer-k/graphql-rsc-dashboard
To Reproduce
Same issue as #60541 but that is closed and can't be commented on anymore. Tagging @ztanner as I hope this reproduction helps #60541 (comment)
I came across the above issue as I was searching around to try to understand why the slot isn't falling back to the default on subsequent navigation.
In my repository above
/
)rendering in default { params: {}, searchParams: {} }
from default.tsx#4RSC (No Delay)
button in the header to navigate to/books
rendering in @breadcrumbs / BreadcrumbSlot [ 'books' ]
from page.tsx#11Home
in the headerdefault.tsx
orpage.tsx
shows up. The breadcrumbs still showHome | books
instead of justHome
.Current vs. Expected behavior
Provide environment information
npx --no-install next info Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 Available memory (MB): 16384 Available CPU cores: 12 Binaries: Node: 20.10.0 npm: 10.2.3 Yarn: 1.22.19 pnpm: 9.0.6 Relevant Packages: next: 15.0.0-rc.0 // Latest available version is detected (15.0.0-rc.0). eslint-config-next: 14.2.3 react: 19.0.0-rc-6f23540c7d-20240528 react-dom: 19.0.0-rc-6f23540c7d-20240528 typescript: 5.4.5 Next.js Config: output: N/A
The text was updated successfully, but these errors were encountered: