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

Next.js App Router Migration #339

Open
nozomione opened this issue May 8, 2024 · 0 comments
Open

Next.js App Router Migration #339

nozomione opened this issue May 8, 2024 · 0 comments
Assignees
Labels

Comments

@nozomione
Copy link
Member

nozomione commented May 8, 2024

--- in progress: editing ---

Context

Next.js v13 introduced the new routing model, App Router, which supports server side components and requires a new project structure. This epic is to track the router migration process from page to app.

Note

The specifics of epic may be continuously adjusted/updated during the development as needed (e.g., encountering an unexpected errors, add, update, or remove issues)

The issues tracked by this epic as follows:

Problem or idea

This section will be filled later.

Page Meta Tags (in progress - this section still needs to be defined)

Currently meta tags are added to pages using components/shared/PageTitle. However, next/head has been replaced by the new built-in SEO Metadata API, and we need to adjust the way we handle metadata in each route.

  • Refactor the globally shared PageTitle component
  • Add to app router

Data Fetching (in progress - this section still needs to be defined)

Resource: Migrating Data Fetching Methods, Data Fetching

Note

The getServerSideProps, getStaticProps, and getInitialProps methods have been replaced with a simpler API.

  • Add Compendia page to the app router
    • Refactor hooks, context, sub-components

Project Reorganization (in progress - this section still needs to be defined)

Colocation, Project Organization Features

We'll restructure and organize the project's folders/files.

Solution or next step

@nozomione nozomione self-assigned this May 8, 2024
@nozomione nozomione changed the title Discussion: Next.js App Router Migration Next.js App Router Migration May 29, 2024
@nozomione nozomione added Epic and removed Epic labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant