Unverified Commit 1352ba1d authored by Yann Pringault's avatar Yann Pringault Committed by GitHub

[examples/with-typescript] Upgrade to React v17 (#22674)

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
```
parent b874bc7f
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
}, },
"dependencies": { "dependencies": {
"next": "latest", "next": "latest",
"react": "^16.12.0", "react": "^17.0.1",
"react-dom": "^16.12.0" "react-dom": "^17.0.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^12.12.21", "@types/node": "^12.12.21",
"@types/react": "^16.9.16", "@types/react": "^17.0.2",
"@types/react-dom": "^16.9.4", "@types/react-dom": "^17.0.1",
"typescript": "4.0" "typescript": "4.0"
}, },
"license": "MIT" "license": "MIT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment