language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mobx-react-lite/package.json | @@ -10,8 +10,8 @@
"mobx": "^6.0.3",
"mobx-react-lite": "^3.1.5",
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "7.14.5", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mobx-state-tree-typescript/package.json | @@ -12,8 +12,8 @@
"mobx-react-lite": "^2.0.7",
"mobx-state-tree": "^3.11.0",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"typescript": "^3.0.1"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mobx-state-tree/package.json | @@ -11,8 +11,8 @@
"mobx-react": "^4.0.4",
"mobx-state-tree": "1.0.1",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "7.14.5", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mobx/package.json | @@ -10,8 +10,8 @@
"mobx": "^6.0.1",
"mobx-react": "^7.0.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT",
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mocha/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.0.1", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mongodb-mongoose/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"mongoose": "^5.9.13",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "0.2.2"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mongodb/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"mongodb": "^3.5.9",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mqtt-js/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"mqtt": "4.2.6",
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-msw/package.json | @@ -10,8 +10,8 @@
"dependencies": {
"msw": "^0.29.0",
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"msw": {
"workerDirectory": "public" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mux-video/package.json | @@ -12,8 +12,8 @@
"@mux/upchunk": "^2.0.0",
"hls.js": "^0.13.2",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "^0.2.0"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-mysql/package.json | @@ -12,8 +12,8 @@
"clsx": "^1.1.1",
"dotenv": "^8.2.0",
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-loading-skeleton": "^2.1.1",
"serverless-mysql": "^1.5.4",
"swr": "^0.3.9" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-neo4j/package.json | @@ -10,8 +10,8 @@
"dependencies": {
"neo4j-driver": "4.1.1",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "0.3.9"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-netlify-cms/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.9.0",
- "react-dom": "^16.9.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"frontmatter-markdown-loader": "^2.0.0" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-css/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "^9.1.8-canary.11",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-offline/package.json | @@ -11,8 +11,8 @@
"dependencies": {
"next": "canary",
"next-offline": "4.0.6",
- "react": "16.12.0",
- "react-dom": "16.12.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"cross-env": "6.0.3" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-page-transitions/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"next": "latest",
"next-page-transitions": "1.0.0-beta.2",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-sass/package.json | @@ -7,8 +7,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"sass": "1.26.3"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-seo/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"next": "latest",
"next-seo": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-sitemap/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "14.6.0", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-next-translate/package.json | @@ -8,8 +8,8 @@
"dependencies": {
"next": "10.0.3",
"next-translate": "1.0.0",
- "react": "17.0.1",
- "react-dom": "17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-nhost-auth-realtime-graphql/package.json | @@ -14,7 +14,7 @@
"graphql": "15.5.0",
"next": "10.0.7",
"nhost-js-sdk": "3.0.0-16",
- "react": "17.0.1",
- "react-dom": "17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-orbit-components/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"@kiwicom/orbit-components": "latest",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"styled-components": "^5.3.0"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-overmind/package.json | @@ -15,7 +15,7 @@
"next": "latest",
"overmind": "^17.0.0-1551262265873",
"overmind-react": "^18.0.0-1551262265873",
- "react": "^16.8.3",
- "react-dom": "^16.8.3"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-passport-and-next-connect/package.json | @@ -12,8 +12,8 @@
"next-connect": "^0.6.1",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "^0.1.18",
"uuidv4": "6.2.5"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-passport/package.json | @@ -12,8 +12,8 @@
"next-connect": "0.8.1",
"passport": "0.4.1",
"passport-local": "1.0.0",
- "react": "latest",
- "react-dom": "latest",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "^0.5.5",
"uuid": "8.3.1"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-paste-typescript/package.json | @@ -11,8 +11,8 @@
"@twilio-paste/icons": "^3.10.5",
"next": "10.0.4",
"prop-types": "^15.7.2",
- "react": "16.14.0",
- "react-dom": "16.14.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^14.14.16", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-polyfills/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "latest",
- "react-dom": "latest"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-portals-ssr/package.json | @@ -8,8 +8,8 @@
"dependencies": {
"@jesstelford/react-portal-universal": "1.0.0",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-portals/package.json | @@ -7,8 +7,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-prefetching/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"author": "",
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-quill-js/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "^9.1.8-canary.11",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-quill": "^1.3.3"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-rbx-bulma-pro/package.json | @@ -9,8 +9,8 @@
"bulma-pro": "^0.1.7",
"next": "latest",
"rbx": "^2.2.0",
- "react": "^17.0.3",
- "react-dom": "^17.0.3"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"tslib": "2.3.0" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-bootstrap/package.json | @@ -11,8 +11,8 @@
"dependencies": {
"bootstrap": "^4.4.1",
"next": "latest",
- "react": "^16.13.1",
+ "react": "^17.0.2",
"react-bootstrap": "^1.0.1",
- "react-dom": "^16.13.1"
+ "react-dom": "^17.0.2"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-ga/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-ga": "2.5.3"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-helmet/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-helmet": "^6.0.0"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-hook-form/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-hook-form": "7.4.0"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-intl/package.json | @@ -23,8 +23,8 @@
"full-icu": "^1.3.0",
"glob": "^7.1.4",
"next": "latest",
- "react": "^16.9.0",
- "react-dom": "^16.9.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-intl": "^5.6.3"
},
"license": "MIT", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-jss/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-jss": "^10.3.0"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-md-typescript/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-md": "^2.1.1"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-md/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-md": "^2.1.1"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-multi-carousel/package.json | @@ -16,8 +16,8 @@
"jss": "^9.8.7",
"mobile-detect": "^1.4.3",
"next": "^9.3.0",
- "react": "^16.13.0",
- "react-dom": "^16.13.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-jss": "^8.6.1",
"react-multi-carousel": "^1.2.5"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-native-web/package.json | @@ -7,8 +7,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-native-web": "^0.13.14"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-toolbox/package.json | @@ -10,9 +10,9 @@
"dependencies": {
"classnames": "^2.2.5",
"next": "latest",
- "react": "^16.7.0",
+ "react": "^17.0.2",
"react-addons-css-transition-group": "^15.5.2",
- "react-dom": "^16.7.0",
+ "react-dom": "^17.0.2",
"react-toolbox": "^2.0.0-beta.8"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-react-with-styles/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"aphrodite": "^1.2.5",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-with-direction": "^1.3.1",
"react-with-styles": "^4.1.0",
"react-with-styles-interface-aphrodite": "^6... | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-reactstrap/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"bootstrap": "^4.5.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"reactstrap": "^8.5.1"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-realm-web/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"realm-web": "0.4.0",
"swr": "0.2.3"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-reasonml-todo/package.json | @@ -12,8 +12,8 @@
"dependencies": {
"next": "latest",
"next-transpile-modules": "^7.3.0",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"reason-react": "^0.7.0"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-reasonml/package.json | @@ -12,8 +12,8 @@
"dependencies": {
"next": "latest",
"next-transpile-modules": "^7.3.0",
- "react": "^16.12.0",
- "react-dom": "^16.12.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"reason-react": "^0.7.0"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-rebass/package.json | @@ -7,8 +7,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"rebass": "^4.0.7",
"styled-components": "^5.3.0"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-recoil/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"recoil": "0.0.7"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redis/package.json | @@ -13,8 +13,8 @@
"ioredis": "^4.23.0",
"next": "latest",
"postcss": "^8.1.10",
- "react": "^17.0.1",
- "react-dom": "^17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-hot-toast": "^1.0.2",
"swr": "^0.5.1",
"tailwindcss": "^2.0.2", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-code-splitting/package.json | @@ -10,8 +10,8 @@
"fast-redux": "~0.3.0",
"next": "latest",
"next-redux-wrapper": "~1.3.2",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "~5.0.5",
"redux": "~3.7.2",
"redux-devtools-extension": "~2.13.2", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-observable/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "7.2.0",
"redux": "4.0.5",
"redux-logger": "3.0.6", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-persist/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "7.2.0",
"redux": "4.0.5",
"redux-devtools-extension": "^2.13.2", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-saga/package.json | @@ -10,8 +10,8 @@
"dependencies": {
"next": "latest",
"next-redux-wrapper": "^6.0.2",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "7.2.0",
"redux": "4.0.5",
"redux-saga": "1.1.3" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-thunk/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.9.0",
- "react-dom": "^16.9.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "^7.1.0",
"redux": "^4.0.4",
"redux-devtools-extension": "^2.13.8", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-toolkit-typescript/package.json | @@ -11,8 +11,8 @@
"dependencies": {
"@reduxjs/toolkit": "^1.3.6",
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "^7.2.0"
},
"license": "MIT", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-toolkit/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"@reduxjs/toolkit": "1.5.0",
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "7.2.2"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux-wrapper/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"next": "9.4.1",
"next-redux-wrapper": "^6.0.1",
- "react": "^16.12.0",
- "react-dom": "^16.12.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "7.1.3",
"redux": "4.0.5",
"redux-devtools-extension": "2.13.8", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-redux/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.9.0",
- "react-dom": "^16.9.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "^7.1.0",
"redux": "^3.6.0",
"redux-devtools-extension": "^2.13.2" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-reflux/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"reflux": "^6.4.1"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-relay-modern/package.json | @@ -13,8 +13,8 @@
"dependencies": {
"graphql": "^14.6.0",
"next": "latest",
- "react": "^16.13.0",
- "react-dom": "^16.13.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-relay": "^9.0.0"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-rematch/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"@rematch/core": "1.4.0",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "7.2.0",
"redux": "4.0.5"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-route-as-modal/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-modal": "3.11.2"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-segment-analytics/package.json | @@ -8,8 +8,8 @@
"dependencies": {
"@segment/snippet": "^4.0.1",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-semantic-ui/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "^9.1.8-canary.11",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.84.0"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-sentry/package.json | @@ -10,7 +10,7 @@
"dependencies": {
"@sentry/nextjs": "^6.3.5",
"next": "latest",
- "react": "^16.8.6",
- "react-dom": "^16.8.6"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
}
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-service-worker/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-shallow-routing/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-sitemap/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"globby": "^11.0.1" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-slate/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"slate": "^0.58.4",
"slate-history": "0.58.4",
"slate-react": "^0.58.4" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-static-export/package.json | @@ -2,8 +2,8 @@
"name": "with-static-export",
"dependencies": {
"next": "latest",
- "react": "^16.11.0",
- "react-dom": "^16.11.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"serve": "11.2.0"
},
"scripts": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-stencil/packages/web-app/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.8.3",
- "react-dom": "^16.8.3"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-stitches/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"@stitches/react": "latest",
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-stomp/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"@stomp/stompjs": "^5.4.2",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-storybook-styled-jsx-scss/package.json | @@ -11,8 +11,8 @@
},
"dependencies": {
"next": "^10.0.0",
- "react": "17.0.1",
- "react-dom": "17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT",
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-storybook/package.json | @@ -12,8 +12,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT",
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-strict-csp/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-stripe-typescript/package.json | @@ -14,8 +14,8 @@
"micro": "^9.3.4",
"micro-cors": "^0.1.1",
"next": "latest",
- "react": "^16.12.0",
- "react-dom": "^16.12.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"stripe": "8.56.0",
"swr": "^0.1.16",
"use-shopping-cart": "2.1.0" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-styled-jsx-plugins/package.json | @@ -11,8 +11,8 @@
"lost": "8.2.0",
"postcss-nested": "5.0.5",
"postcss": "8.2.9",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"styled-jsx-plugin-postcss": "4.0.1"
},
"license": "MIT", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-styled-jsx-scss/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"sass": "^1.32.8", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-styled-jsx/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-styletron/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"styletron-engine-atomic": "1.4.6",
"styletron-react": "5.2.7"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-supabase-auth-realtime-db/package.json | @@ -10,8 +10,8 @@
"@supabase/supabase-js": "^1.2.1",
"@supabase/ui": "^0.6.1",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "0.2.3"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-supertokens/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"supertokens-auth-react": "^0.13.0",
"supertokens-node": "^5.0.0"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-tailwindcss-emotion/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"@emotion/react": "^11.1.5",
"@emotion/styled": "11.3.0",
- "react": "17.0.2",
- "react-dom": "17.0.2",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"tailwindcss-filters": "3.0.0"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-tailwindcss/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"autoprefixer": "^10.0.4", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-tesfy/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"cookie": "0.4.1",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-tesfy": "latest",
"tesfy": "latest",
"uuid": "8.1.0" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-three-js/package.json | @@ -11,8 +11,8 @@
"@react-three/drei": "4.3.3",
"@react-three/fiber": "6.0.19",
"next": "10.2.0",
- "react": "17.0.2",
- "react-dom": "17.0.2",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"three": "0.128.0"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-typescript-eslint-jest/package.json | @@ -27,8 +27,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@testing-library/react": "^11.2.5", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-typescript-graphql/package.json | @@ -18,8 +18,8 @@
"apollo-server-micro": "^2.16.1",
"graphql": "15.3.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.17.8", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-typescript-types/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.12.0",
- "react-dom": "^16.12.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^12.12.21", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-typescript/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^12.12.21", | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-typestyle/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"typestyle": "^2.0.1"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-unsplash/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "^9.5.1",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "^0.3.0",
"unsplash-js": "^6.0.0"
}, | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-unstated/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"unstated-next": "1.1.0"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-urql/package.json | @@ -9,8 +9,8 @@
"graphql": "^15.0.0",
"isomorphic-unfetch": "^3.0.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"urql": "^1.9.7"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-userbase/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "^9.2.0",
- "react": "^16.12.0",
- "react-dom": "^16.12.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"userbase-js": "^1.3.0"
},
"devDependencies": { | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-vercel-fetch/package.json | @@ -10,8 +10,8 @@
"@vercel/fetch": "6.1.0",
"next": "latest",
"node-fetch": "2.6.1",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"unfetch": "4.2.0"
},
"license": "MIT" | true |
Other | vercel | next.js | 56292234075051e8b9967c39c8a0d99eb57aa54d.json | Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.
```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": "... | examples/with-videojs/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "^9.1.8-canary.11",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"video.js": "^6.7.3",
"videojs-youtube": "^2.4.1"
}, | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.