Next.js Discord

Discord Forum

update project

Answered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Avatar
Northeast Congo LionOP
😭 please help me
I have to update my project to new next version 13.
dependencies like this {
"next": "^6.0.3",
"next-compose-plugins": "^2.1.1",
"next-cookies": "^1.1.0",
"next-images": "^0.10.5",
"next-redux-saga": "^2.0.1",
"next-redux-wrapper": "^1.3.5",
"next-routes": "^1.4.2",
"react-redux": "^5.0.7",
"react-render-html": "^0.6.0",
"redux": "^4.0.0",
"redux-devtools-extension": "^2.13.2",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-saga": "^0.16.0",
}
oldest project use redux-saga and I have to implement server components and metadata for SEO.
How can I update this project?
1. how can I resolve redux-saga update?
2. how can I implement server components and metadata.
Sorry for the long, out-of-order post.
I hope you can give me some direction on this from the perspective of a senior.😀
Thank you for your time.
Answered by fuma 💙 joulev
You can read this guide:
https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration
To learn how to migrate your app to App Router.
I am not familiar with Redux though, but for redux, you must mark it as client components. Feel free to find some examples online. If not, you can continue using Pages Router in the latest version in Next.js.
View full answer

3 Replies

Avatar
fuma 💙 joulev
Just to clarify, are you trying to migrate your app to App Router? Or you can stay with Pages Router
Avatar
fuma 💙 joulev
You can read this guide:
https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration
To learn how to migrate your app to App Router.
I am not familiar with Redux though, but for redux, you must mark it as client components. Feel free to find some examples online. If not, you can continue using Pages Router in the latest version in Next.js.
Answer
Avatar
fuma 💙 joulev
[and you can easily find some examples by googling it](https://letmegooglethat.com/?q=redux+app+router+nextjs)