migrate react app to Next.js & document learnings

This commit is contained in:
Michi 2025-04-18 21:37:19 +02:00
parent 507b113ce9
commit 820ed27a47
8 changed files with 1013 additions and 0 deletions

View file

@ -180,7 +180,22 @@ function HomePage(){
}
```
## Migrate project from React to Next.js
Install React & Next.js
```zsh
npm install react@latest react-dom@latest next@latest
```
Dependencies in package.json:
```json
{
"dependencies": {
"next": "^15.3.1",
"react": "^19.1.0",
"react-dom": "^19.1.0"
}
}
```
## Ressources
- [React Foundations course from Next.js](https://nextjs.org/learn/react-foundations)