-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed as not planned
Closed as not planned
Copy link
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.lockedstaleThe issue has not seen recent activity.The issue has not seen recent activity.
Description
Link to the code that reproduces this issue
https://github.com/kevva/next-bugs/tree/routing-back
To Reproduce
- Build and start the application (
npm run build && npm run start
) - Click the "Foo" link
- The loading UI never finishes and thus the route is never rendered
Current vs. Expected behavior
Current behaviour
Currently, if you have a loading.js
and something dynamic in a nested layout.js
(like a headers()
call), the loading state will never finish if you navigate to the route with the nested layout using PPR.
Expected behaviour
The route renders correctly.
Verify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000
Binaries:
Node: 21.4.0
npm: 10.2.4
Yarn: 1.22.21
pnpm: N/A
Relevant Packages:
next: 14.0.5-canary.36
eslint-config-next: 14.0.5-canary.36
react: 18.2.0
react-dom: 18.2.0
typescript: 5.3.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
App Router
Which stage(s) are affected? (Select all that apply)
next start (local)
Additional context
The latest working canary release I could test this is in was 14.0.5-canary.19
due to issues introduced in #59569. However, it works in that release so this must've been introduced after that.
MattJustMatt
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.lockedstaleThe issue has not seen recent activity.The issue has not seen recent activity.