Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 6.5k
Epic: Move away from pages folder #8262
Copy link
Copy link
Open
Labels
blockedcontentIssues/pr concerning contentIssues/pr concerning contentinfrastructureIssues/PRs related to the Repository InfraIssues/PRs related to the Repository InframetaMeta Issues for Administration of the Website TeamMeta Issues for Administration of the Website Teamwebsite redesignIssue/PR part of the Node.js Website RedesignIssue/PR part of the Node.js Website Redesign
Description
Metadata
Metadata
Assignees
Labels
blockedcontentIssues/pr concerning contentIssues/pr concerning contentinfrastructureIssues/PRs related to the Repository InfraIssues/PRs related to the Repository InframetaMeta Issues for Administration of the Website TeamMeta Issues for Administration of the Website Teamwebsite redesignIssue/PR part of the Node.js Website RedesignIssue/PR part of the Node.js Website Redesign
Type
Projects
StatusShow more project fields
📋 Backlog
Back in 2023/2024 when we were releasing the redesigned Node.js Website, we had to create a custom dynamic router around our infrastructure (Next.js) because
pagesfolder structure is what @nodejs/collaborators were used to work with. This was intentionally done to not make the move to Next.js feel as big as an atomic move as it could be. This was also done to keep DX for existing collaborators simple.Fast forwarding to now, release blog post generation is getting automated and releasers and other collaborators that have worked with us are used and more familiar with our Next.js environment.
The time has probably come. It's time to move away from our custom
next.dynamic.mjsrouter (including all the bells-and-whistles) and adopt Next.js's built-in MDX, which usesmdx-rs, a Rust-based MDX parser/compiler (https://github.com/web-infra-dev/mdx-rs) and that at the moment also supports custom JS-based Rehype and Remark Plugins.This work effectively means that:
/pageswould be moved under the respective folder under /app/ routerSome of the benefits:
The cons?
cc @nodejs/web-infra @nodejs/nodejs-website