-
Notifications
You must be signed in to change notification settings - Fork 8
DEVREL-1253 Update next and rewrite to app router #66
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
Conversation
* update to new next version * update to new next * update api route to route handlers * add dev:https script to package.json * update homepage page to app router * rewrite [slug] page into app router * rewrite articles listing page * rewrite articles [slug] to app router * update products listing page to app router * rewrite produicts detail page to app router * rewrite solutions page to app router * update callback and getPreviewApiKey to app router, remove pages router * use new searchParam util in product listing * use notFound instead of throwing when siteMenu can not be found * remove unused funcitons, rewrite homepage route to use draft mode * temporarily change to default eslint * adjust readme * remove unnecesray comment * return null instead react fragment in smartlinkinitailzer
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for new-sample-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
8a76033 to
2f4246f
Compare
2f4246f to
b156855
Compare
app/[envId]/products/page.tsx
Outdated
| }; | ||
|
|
||
|
|
||
| export const generateStaticParams = () => [ { envId: defaultEnvId } ] |
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.
How come that the envId param is not needed?
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.
because we are generating it in layout.tsx
update to new next version
update to new next
update api route to route handlers
add dev:https script to package.json
update homepage page to app router
rewrite [slug] page into app router
rewrite articles listing page
rewrite articles [slug] to app router
update products listing page to app router
rewrite produicts detail page to app router
rewrite solutions page to app router
update callback and getPreviewApiKey to app router, remove pages router
use new searchParam util in product listing
use notFound instead of throwing when siteMenu can not be found
remove unused funcitons, rewrite homepage route to use draft mode
temporarily change to default eslint
adjust readme
remove unnecesray comment
return null instead react fragment in smartlinkinitailzer
Motivation
Which issue does this fix? Fixes #
issue numberIf no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?
Checklist
How to test
If manual testing is required, what are the steps?