-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: migrate next to app router #32
base: next
Are you sure you want to change the base?
Conversation
b50d6de
to
1245da6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks,
I just left some comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Done in 47c361c |
9786fd1
to
466e485
Compare
Done in e2d348f |
4c3dbd1
to
e2bf41d
Compare
e2bf41d
to
647b04b
Compare
Tnx, resolved. |
647b04b
to
06aea3c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Done in b4039e5 |
Added in 0005068 |
This comment was marked as resolved.
This comment was marked as resolved.
In order to import |
8d94fb3
to
9a4b69a
Compare
9a4b69a
to
0005068
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks,
LGTM
Summary
This pull request migrates the Next.js project from the traditional Pages Router to the new App Router. This migration aims to leverage the latest features and improvements provided by the App Router, enhancing the overall performance, scalability, and maintainability of the application.
Key Changes
1. Project Structure:
Moved all page components from the pages directory to the app directory.
Updated the directory structure to follow the App Router conventions.
2. Routing:
Replaced all pages-based routing with app-based routing.
Updated dynamic routes to use the new file-based routing system.
3. Data fetching:
Moved data fetching to server on most places to optimize page loadings
4. Components:
Refactored components to be compatible with the App Router.
Updated import paths to reflect the new directory structure.
5. Dependencies:
Updated dependencies to the latest versions compatible with the App Router.