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

WIP: App router migration #1279

Draft
wants to merge 38 commits into
base: develop
Choose a base branch
from
Draft

WIP: App router migration #1279

wants to merge 38 commits into from

Conversation

annarhughes
Copy link
Member

@annarhughes annarhughes commented Jan 21, 2025

What changes did you make and why did you make them?

WIP of next.js app router migration, which requires significant changes to app structure and logic, including how internationalisation and integrations are configured.

See the following guides related to the app router migration:
Next.js migration guide
MUI app router guide
Redux app router guide - see note on potential redundancy
next-intl app router guide

The approach is to migrate the entire app in this PR and test extensively before release. An incremental migration was preferred but was costing more time to make integrations (next-intl, MUI, Redux) work with both pages and app router.

Note that server components and next.js data fetching has not yet been fully implemented. Whilst the app has been moved to the app router structure and uses the latest packages and patterns, we haven't yet split our pages and components into client and server components - this will be completed incrementally later.

We should also consider removing Redux in favour of next.js data fetching and available state such as context - the latest changes in app router make Redux less effective or necessary. MUI is adding support for RSC and we will need to refactor how we use it (likely using the new PigmentCSS option) as part of the splitting client and server components.

Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bloom-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 11:11pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant