-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Upgrade to Next.js 14 Best Practices #272
Comments
Hello, @wei. Happy to assist you with migrating to using App dir. Good news is that NextJS supports both at the same time so we can do incremental moves. Let me know how you'd like to proceed. I'm very familiar with the process. Hear from you soon. |
Hey hey @KemingHe awesome! That'd bea lot of help ❤️. Assigning to you for now 😁 |
Add multi-line, detailed description
Hello @wei, I suggest we split this issue into two sub tasks:
This way, updates are more incremental, and less pressure on the devs to get everything right first and only time. Let me know what you think. ❤️ |
Sure, I will review and merge dependabot's #289 for the version bump since it's backwards compatible. |
Upgrade to Next.js 14 in #289 has been complete. Pending research on whether App directory, server components, or any other Next 14 features make sense in our project. |
Honestly, Page Router is fine for Next.js 14, I assume it will take at least 1~2 year until they sunset it. The upside App Router brings to the project are:
and that's about it. The client/server declaration can just be hard-coded into each page. All in all, if you want new features over slightly better and future-proofing code, I recommend shelving this util nearing Next ver 15 release. Let me know what you think: @wei |
Thanks for the insight. Sounds like a plan. 👍 |
In addition to just bumping the version like in #268, let's also update the project structure to the latest recommended by Next.js (App directory). Let's also explore the use of server components (if applicable).
The text was updated successfully, but these errors were encountered: