Skip to content

Commit

Permalink
[examples/with-typescript] Upgrade to React v17 (#22674)
Browse files Browse the repository at this point in the history
This avoids the warning when you init a new Next.js app with the example:

```
warn  - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://err.sh/next.js/react-version
```
  • Loading branch information
Kerumen authored Mar 2, 2021
1 parent b874bc7 commit 1352ba1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/with-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
},
"dependencies": {
"next": "latest",
"react": "^16.12.0",
"react-dom": "^16.12.0"
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@types/node": "^12.12.21",
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"typescript": "4.0"
},
"license": "MIT"
Expand Down

0 comments on commit 1352ba1

Please sign in to comment.