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/cms-sanity/package.json | @@ -12,8 +12,8 @@
"date-fns": "2.10.0",
"next-sanity": "0.1.5",
"next": "latest",
- "react": "^16.13.0",
- "react-dom": "^16.13.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^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/cms-storyblok/package.json | @@ -10,8 +10,8 @@
"classnames": "2.2.6",
"date-fns": "2.14.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"remark": "12.0.0",
"remark-html": "11.0.2",
"storyblok-js-client": "2.5.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/cms-strapi/package.json | @@ -11,8 +11,8 @@
"date-fns": "2.14.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",
"remark": "12.0.0",
"remark-html": "11.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/cms-takeshape/package.json | @@ -10,8 +10,8 @@
"classnames": "2.2.6",
"date-fns": "2.10.0",
"next": "latest",
- "react": "^16.13.0",
- "react-dom": "^16.13.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"remark": "11.0.2",
"remark-html": "10.0.0",
"takeshape-routing": "4.86.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/cms-wordpress/package.json | @@ -10,8 +10,8 @@
"classnames": "2.2.6",
"date-fns": "2.14.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"postcss-flexbugs-fixes": "4.2.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/custom-routes-proxying/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/custom-server-actionhero/package.json | @@ -7,8 +7,8 @@
"actionhero": "^18.1.2",
"ioredis": "^3.2.2",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"ws": "^4.1.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/custom-server-express/package.json | @@ -10,8 +10,8 @@
"cross-env": "^7.0.2",
"express": "^4.17.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/custom-server-fastify/package.json | @@ -10,8 +10,8 @@
"cross-env": "^7.0.2",
"fastify": "^2.12.1",
"next": "latest",
- "react": "^16.13.0",
- "react-dom": "^16.13.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/custom-server-hapi/package.json | @@ -10,8 +10,8 @@
"@hapi/hapi": "^18.3.1",
"cross-env": "^5.2.0",
"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/custom-server-koa/package.json | @@ -11,8 +11,8 @@
"cross-env": "^5.2.0",
"koa": "^2.13.0",
"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/custom-server-polka/package.json | @@ -10,8 +10,8 @@
"cross-env": "^5.2.0",
"next": "latest",
"polka": "0.5.1",
- "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/custom-server-typescript/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"cross-env": "^7.0.2",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^12.0.12", | 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/data-fetch/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/dynamic-routing/package.json | @@ -9,7 +9,7 @@
"license": "MIT",
"dependencies": {
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.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/environment-variables/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/fast-refresh-demo/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/gh-pages/package.json | @@ -10,8 +10,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/head-elements/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/headers/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/hello-world/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"
},
"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/i18n-routing/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/image-component/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^17.0.0",
- "react-dom": "^17.0.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/layout-component/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/nested-components/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/progressive-render/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/progressive-web-app/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"next": "latest",
"next-pwa": "^3.1.0",
- "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/redirects/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/rewrites/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/ssr-caching/package.json | @@ -11,8 +11,8 @@
"cross-env": "^7.0.2",
"express": "^4.17.1",
"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/styled-jsx-with-csp/package.json | @@ -10,7 +10,7 @@
"dependencies": {
"nanoid": "3.1.21",
"next": "10.0.8",
- "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/svg-components/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": {
"babel-plugin-inline-react-svg": "^1.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/using-preact/package.json | @@ -12,8 +12,8 @@
"next-plugin-preact": "^3.0.3",
"preact": "^10.5.5",
"preact-render-to-string": "^5.1.11",
- "react": "npm:@preact/compat@^0.0.3",
- "react-dom": "npm:@preact/compat@^0.0.3",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-ssr-prepass": "npm:preact-ssr-prepass@^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/using-router/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-absolute-imports/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-algolia-react-instantsearch/package.json | @@ -12,8 +12,8 @@
"next": "latest",
"prop-types": "^15.5.10",
"qs": "^6.4.0",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-instantsearch-dom": "6.6.0",
"style-loader": "^0.17.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-ant-design/package.json | @@ -15,8 +15,8 @@
"esm": "^3.2.25",
"next": "latest",
"postcss-preset-env": "^6.7.0",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"browser": {
"fs": false, | 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-aphrodite/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"aphrodite": "^2.3.1",
"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-apollo-and-redux/package.json | @@ -13,8 +13,8 @@
"lodash": "4.17.20",
"next": "latest",
"prop-types": "^15.6.0",
- "react": "^16.11.0",
- "react-dom": "^16.11.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "^7.1.1",
"redux": "^4.0.1",
"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-apollo-neo4j-graphql/package.json | @@ -14,8 +14,8 @@
"neo4j-driver": "^4.2.1",
"neo4j-graphql-js": "^2.17.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-apollo/package.json | @@ -13,8 +13,8 @@
"graphql": "^15.3.0",
"next": "latest",
"prop-types": "^15.6.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-app-layout/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-atlaskit/package.json | @@ -14,8 +14,8 @@
"@atlaskit/dropdown-menu": "^9.0.2",
"@atlaskit/field-base": "^14.0.2",
"next": "^9.3.1",
- "react": "^16.13.1",
- "react-dom": "^16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"styled-components": "^5.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-aws-amplify-typescript/package.json | @@ -14,8 +14,8 @@
"@aws-amplify/ui-react": "^1.0.7",
"aws-amplify": "^3.3.27",
"next": "10.1.3",
- "react": "17.0.2",
- "react-dom": "17.0.2"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^14.14.41", | 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-aws-amplify/package.json | @@ -12,7 +12,7 @@
"immer": "3.1.3",
"nanoid": "2.0.3",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.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-babel-macros/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"
},
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"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-carbon-components/package.json | @@ -16,7 +16,7 @@
"carbon-icons": "^7.0.7",
"next": "latest",
"sass": "^1.32.4",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "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-cerebral/package.json | @@ -14,7 +14,7 @@
"@cerebral/react": "^2.1.0",
"cerebral": "^3.1.0",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "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-clerk/package.json | @@ -9,8 +9,8 @@
"@clerk/clerk-react": "1.7.0",
"@clerk/clerk-sdk-node": "0.3.0",
"next": "10.0.9",
- "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-compiled-css/package.json | @@ -11,7 +11,7 @@
"@compiled/react": "^0.6.7",
"@compiled/webpack-loader": "^0.6.7",
"next": "latest",
- "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-context-api/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-cookie-auth-fauna/package.json | @@ -9,8 +9,8 @@
"cookie": "^0.4.0",
"faunadb": "2.10.0",
"next": "latest",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
+ "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-cssed/package.json | @@ -11,8 +11,8 @@
"babel-plugin-macros": "^2.8.0",
"cssed": "^1.1.2",
"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-custom-babel-config/package.json | @@ -10,8 +10,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-custom-reverse-proxy/package.json | @@ -4,8 +4,8 @@
"dependencies": {
"express": "^4.15.3",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "0.2.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-cxs/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"cxs": "^3.0.0",
"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-deta-base/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"deta": "^0.0.8",
"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-draft-js/package.json | @@ -11,7 +11,7 @@
"dependencies": {
"draft-js": "^0.11.5",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "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-dynamic-app-layout/package.json | @@ -10,8 +10,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-dynamic-import/package.json | @@ -10,8 +10,8 @@
"dependencies": {
"fuse.js": "6.4.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-electron-typescript/package.json | @@ -17,8 +17,8 @@
"dependencies": {
"electron-is-dev": "^1.1.0",
"electron-next": "^3.1.5",
- "react": "^17.0.0",
- "react-dom": "^17.0.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^14.14.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-electron/package.json | @@ -21,8 +21,8 @@
"electron": "^12.0.2",
"electron-builder": "^22.10.5",
"next": "latest",
- "react": "^16.12.0",
- "react-dom": "^16.12.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"dependencies": {
"electron-is-dev": "^1.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-emotion-vanilla/package.json | @@ -14,7 +14,7 @@
"@emotion/css": "11.0.0",
"@emotion/server": "11.0.0",
"next": "latest",
- "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-emotion/package.json | @@ -14,7 +14,7 @@
"@emotion/react": "11.1.1",
"@emotion/styled": "11.0.0",
"next": "latest",
- "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-env-from-next-config-js/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-eslint/package.json | @@ -9,8 +9,8 @@
"license": "MIT",
"dependencies": {
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"eslint": "^7.24.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-expo-typescript/package.json | @@ -16,8 +16,8 @@
"dependencies": {
"expo": "~37.0.3",
"next": "latest",
- "react": "~16.9.0",
- "react-dom": "~16.9.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
"react-native-web": "~0.11.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-expo/package.json | @@ -13,8 +13,8 @@
"dependencies": {
"expo": "~37.0.3",
"next": "latest",
- "react": "~16.9.0",
- "react-dom": "~16.9.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
"react-native-web": "~0.11.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-facebook-pixel/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-fela/package.json | @@ -11,8 +11,8 @@
"fela-dom": "latest",
"fela-preset-web": "latest",
"next": "latest",
- "react": "latest",
- "react-dom": "latest",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-fela": "latest"
},
"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-filbert/package.json | @@ -16,7 +16,7 @@
"@filbert-js/macro": "latest",
"@filbert-js/server-stylesheet": "latest",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "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-firebase-cloud-messaging/package.json | @@ -10,8 +10,8 @@
"firebase": "^7.6.2",
"localforage": "^1.7.3",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {},
"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-firebase-hosting/package.json | @@ -16,8 +16,8 @@
"firebase-admin": "^9.4.2",
"firebase-functions": "^3.13.1",
"next": "latest",
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"firebase-functions-test": "^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-firebase/package.json | @@ -10,8 +10,8 @@
"firebase": "7.17.0",
"firebase-admin": "9.0.0",
"next": "latest",
- "react": "^16.13.0",
- "react-dom": "^16.13.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-flow/package.json | @@ -11,8 +11,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"babel-eslint": "8.2.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-framer-motion/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"framer-motion": "latest",
"next": "latest",
- "react": "16.11.0",
- "react-dom": "16.11.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-goober/package.json | @@ -11,7 +11,7 @@
"goober": "^2.0.2",
"goober-autoprefixer": "^1.2.0",
"next": "latest",
- "react": "^16.13.1",
- "react-dom": "^16.13.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-google-analytics-amp/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-google-analytics/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-google-tag-manager/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-graphql-faunadb/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^16.10.2",
- "react-dom": "^16.10.2"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"faunadb": "2.11.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-graphql-hooks/package.json | @@ -12,7 +12,7 @@
"graphql-hooks-memcache": "^2.1.0",
"next": "latest",
"prop-types": "^15.7.2",
- "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-graphql-react/package.json | @@ -6,8 +6,8 @@
"graphql-react": "^11.0.1",
"next": "latest",
"next-graphql-react": "^8.0.0",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"scripts": {
"dev": "next", | 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-grommet/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"grommet": "^2.5.5",
"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-gsap/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"gsap": "^3.0.1",
"next": "latest",
- "react": "16.13.1",
- "react-dom": "16.13.1",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-transition-group": "^4.3.0",
"sass": "1.29.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-hls-js/package.json | @@ -10,7 +10,7 @@
"dependencies": {
"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"
}
} | 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-http2/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"cross-env": "^7.0.2",
"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-i18n-next-intl/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"next": "latest",
"next-intl": "^1.0.1",
- "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-i18n-rosetta/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",
"rosetta": "1.0.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-ionic-typescript/package.json | @@ -11,8 +11,8 @@
"@ionic/core": "^5.4.1",
"ionicons": "^5.2.3",
"next": "latest",
- "react": "17.0.1",
- "react-dom": "17.0.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^14.14.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-iron-session/package.json | @@ -11,8 +11,8 @@
"next": "latest",
"next-iron-session": "4.1.7",
"prop-types": "15.7.2",
- "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-jest/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": {
"@testing-library/jest-dom": "^5.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-kea/package.json | @@ -11,8 +11,8 @@
"next": "latest",
"next-redux-wrapper": "^2.0.0",
"prop-types": "^15.6.0",
- "react": "^16.7.0",
- "react-dom": "^16.7.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"react-redux": "^5.0.6",
"redux": "^4.0.0",
"reselect": "^3.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-knex/package.json | @@ -17,8 +17,8 @@
"knex": "0.21.6",
"next": "latest",
"pg": "8.4.1",
- "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-linaria/package.json | @@ -10,8 +10,8 @@
"linaria": "^2.1.0",
"next": "latest",
"next-linaria": "^0.10.0",
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.13.10" | 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-lingui/package.json | @@ -11,8 +11,8 @@
"dependencies": {
"@lingui/react": "latest",
"next": "latest",
- "react": "^16.7.0",
- "react-dom": "^16.7.0"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@lingui/cli": "latest", | 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-loading/package.json | @@ -10,8 +10,8 @@
"dependencies": {
"next": "latest",
"nprogress": "^0.2.0",
- "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-magic/package.json | @@ -11,8 +11,8 @@
"cookie": "0.4.0",
"magic-sdk": "1.0.1",
"next": "latest",
- "react": "latest",
- "react-dom": "latest",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
"swr": "0.5.5"
},
"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-mdbreact/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"mdbreact": "^5.0.0",
"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-mdx/package.json | @@ -11,8 +11,8 @@
"@mdx-js/react": "^1.6.18",
"@next/mdx": "^9.1.1",
"next": "latest",
- "react": "^16.8.6",
- "react-dom": "^16.8.6"
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"license": "MIT"
} | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.