Next13.4 appDir does not render layout and template in the way the docs say it should
### Verify canary release - [X] I verified that the issue exists in the latest Next.js canary release ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:58 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6020 Binaries: Node: 18.16.0 npm: 9.5.1 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.4.2-canary.4 eslint-config-next: 13.4.1 react: 18.2.0 react-dom: 18.2.0 typescript: 5.0.4 ``` ### Which area(s) of Next.js are affected? (leave empty if unsure) App directory (appDir: true), Routing (next/router, next/navigation, next/link) ### Link to the code that reproduces this issue https://codesandbox.io/p/sandbox/wizardly-wing-fj1kod ### To Reproduce Download and run the files in the sandbox (so that you can attach the React Developer Tools) Note that in the react developer tools, the following component tree is rendered, showing the top `Suspense` added by the `layout.tsx`, two Next internal components, and then the `Suspense` from the `template.tsx`:  ### Describe the Bug The NextJS Documentation on templates in the app-directory router [here](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#templates) says that layouts and templates will be
Posted by zackdotcomputer on May 10, 2023, 11:40 AM
Tags
Related issues
- 2026 - Microsoft Office 365
- [Ubuntu] `ubuntu-latest` label will use Ubuntu 26.04 in November 2026
- Gamut mapping
- [Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists"
- [Windows] ChatGPT 26.820.60940 fails with "invalid transport in mcp_servers.codex_app"; Beta 26.727.40816 works
- [BUG]: infinite loading of videos
Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments
github (SaaS)
2026 - Microsoft Office 365
[Ubuntu] `ubuntu-latest` label will use Ubuntu 26.04 in November 2026
Gamut mapping
[Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists"
[Windows] ChatGPT 26.820.60940 fails with "invalid transport in mcp_servers.codex_app"; Beta 26.727.40816 works
[BUG]: infinite loading of videos
Restore GPT-5.6 Sol’s 372k Codex context window, or provide an opt-in setting
Codex Desktop for macOS repeatedly triggers `syspolicyd` / `trustd` CPU and memory runaway
Next13.4 appDir does not render layout and template in the way the docs say it should
### Verify canary release - [X] I verified that the issue exists in the latest Next.js canary release ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:58 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6020 Binaries: Node: 18.16.0 npm: 9.5.1 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.4.2-canary.4 eslint-config-next: 13.4.1 react: 18.2.0 react-dom: 18.2.0 typescript: 5.0.4 ``` ### Which area(s) of Next.js are affected? (leave empty if unsure) App directory (appDir: true), Routing (next/router, next/navigation, next/link) ### Link to the code that reproduces this issue https://codesandbox.io/p/sandbox/wizardly-wing-fj1kod ### To Reproduce Download and run the files in the sandbox (so that you can attach the React Developer Tools) Note that in the react developer tools, the following component tree is rendered, showing the top `Suspense` added by the `layout.tsx`, two Next internal components, and then the `Suspense` from the `template.tsx`:  ### Describe the Bug The NextJS Documentation on templates in the app-directory router [here](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#templates) says that layouts and templates will be
Comments (0)
No comments yet. Start the discussion.