Custom "special files" for App Router #74308
Charismara
started this conversation in
Ideas
Replies: 1 comment
-
Not a fan of this, custom files with special meanings from codebase to codebase.. that will hurt |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
layout.tsx
) in the app router.Non-Goals
No response
Background
Example use-case:
Creating a
breadcrumb.tsx
file on each route which gets joined and rendered in a specific slot in the root layout.Or
Creating a
sidebar.tsx
on some routes to automatically create an entry within a sidebar component within the root layout.Proposal
I have no idea how this could be implemented.
Beta Was this translation helpful? Give feedback.
All reactions