Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs-infra] Migrate docs to Next App Router #41119

Open
oliviertassinari opened this issue Feb 15, 2024 · 2 comments
Open

[docs-infra] Migrate docs to Next App Router #41119

oliviertassinari opened this issue Feb 15, 2024 · 2 comments
Labels
enhancement This is not a bug, nor a new feature nextjs scope: docs-infra Specific to the docs-infra product

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Feb 15, 2024

Summary

This issue is about moving our docs away from the legacy Pages Router of Next.js to App Router.

Motivation

  1. It's critical as most new projects created by developers today are on the App Router,

https://analytics.google.com/analytics/web/#/analysis/p353089763/edit/IBVRQAiCT2mrgZwzpg9fFQ

SCR-20240215-uowl

How can we build a great DX for something we don't experience every day? It's impossible IMHO.

  1. It's a great way to solve the Layout piece of [docs-infra] Fix page load speed #41117.

Context

It's related to #38966.

Search keywords: App Router

@oliviertassinari oliviertassinari added enhancement This is not a bug, nor a new feature scope: docs-infra Specific to the docs-infra product labels Feb 15, 2024
@flaviendelangle
Copy link
Member

flaviendelangle commented Feb 16, 2024

@samuelsycamore posted this article https://www.flightcontrol.dev/blog/nextjs-app-router-migration-the-good-bad-and-ugly on Slack

Ugly: abysmal dev server performance

We need to see how bad it is 😬

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Feb 16, 2024

@flaviendelangle Thanks for adding this here. 👍 to measure the performance in dev mode as we do our migration. I hope zero runtime CSS-in-JS won't add to the problem 😄.

Now this is part of the value, e.g. #39432, to experience that first hand, and fix what we can on our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is not a bug, nor a new feature nextjs scope: docs-infra Specific to the docs-infra product
Projects
Status: Backlog
Development

No branches or pull requests

2 participants