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 | e8f39ad74c70b6a292c1982349b9cce12e6701ed.json | Update hapi example to support hapi@17 (#3357) | examples/custom-server-hapi/server.js | @@ -1,55 +1,46 @@
const next = require('next')
const Hapi = require('hapi')
-const Good = require('good')
-const { pathWrapper, defaultHandlerWrapper } = require('./next-wrapper')
+const { pathWrapper, defaultHandlerWrapper, nextHandlerWrapper } = require('./next-wrapper')
const port = parseInt(process.env.PORT, 1... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/.babelrc | @@ -0,0 +1,8 @@
+{
+ "presets": [
+ "next/babel"
+ ],
+ "plugins": [
+ "transform-decorators-legacy"
+ ]
+}
\ No newline at end of file | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/README.md | @@ -0,0 +1,59 @@
+[](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-mobx-state-tree)
+
+# MobX State Tree example
+
+## How to use
+
+Download the example [or clone the repo](https://github.com/zeit/next.js):
+
+```bash
+cur... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/components/Clock.js | @@ -0,0 +1,24 @@
+export default (props) => {
+ return (
+ <div className={props.light ? 'light' : ''}>
+ {format(new Date(props.lastUpdate))}
+ <style jsx>{`
+ div {
+ padding: 15px;
+ color: #82FA58;
+ display: inline-block;
+ font: 50px menlo, monaco, monospac... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/components/Page.js | @@ -0,0 +1,29 @@
+import React from 'react'
+import Link from 'next/link'
+import { inject, observer } from 'mobx-react'
+import Clock from './Clock'
+
+@inject('store') @observer
+class Page extends React.Component {
+ componentDidMount () {
+ this.props.store.start()
+ }
+
+ componentWillUnmount () {
+ this.... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/package.json | @@ -0,0 +1,21 @@
+{
+ "name": "with-mobx",
+ "version": "1.0.0",
+ "scripts": {
+ "dev": "node server.js",
+ "build": "next build",
+ "start": "NODE_ENV=production node server.js"
+ },
+ "dependencies": {
+ "mobx": "3.3.1",
+ "mobx-react": "^4.0.4",
+ "mobx-state-tree": "1.0.1",
+ "next": "lat... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/pages/index.js | @@ -0,0 +1,26 @@
+import React from 'react'
+import { Provider } from 'mobx-react'
+import { getSnapshot } from 'mobx-state-tree'
+import { initStore } from '../store'
+import Page from '../components/Page'
+
+export default class Counter extends React.Component {
+ static getInitialProps ({ req }) {
+ const isServ... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/pages/other.js | @@ -0,0 +1,26 @@
+import React from 'react'
+import { Provider } from 'mobx-react'
+import { getSnapshot } from 'mobx-state-tree'
+import { initStore } from '../store'
+import Page from '../components/Page'
+
+export default class Counter extends React.Component {
+ static getInitialProps ({ req }) {
+ const isServ... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/server.js | @@ -0,0 +1,21 @@
+const port = parseInt(process.env.PORT, 10) || 3000
+const dev = process.env.NODE_ENV !== 'production'
+
+const { createServer } = require('http')
+const { parse } = require('url')
+const next = require('next')
+const mobxReact = require('mobx-react')
+const app = next({ dev })
+const handle = app.get... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-mobx-state-tree/store.js | @@ -0,0 +1,43 @@
+import { types, applySnapshot } from 'mobx-state-tree'
+
+let store = null
+
+const Store = types
+ .model({
+ lastUpdate: types.Date,
+ light: false
+ })
+ .actions((self) => {
+ let timer
+ function start () {
+ timer = setInterval(() => {
+ // mobx-state-tree doesn't allo... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-typescript/next.d.ts | @@ -1,10 +0,0 @@
-declare module 'next/link' {
- import { Url } from 'url'
-
- export default class Link extends React.Component<
- {
- href: string | Url;
- },
- {}
- > {}
-} | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | examples/with-typescript/package.json | @@ -9,14 +9,14 @@
},
"dependencies": {
"next": "latest",
- "react": "16.1.0",
- "react-dom": "16.1.0"
+ "react": "^16.1.0",
+ "react-dom": "^16.1.0"
},
"devDependencies": {
- "@types/node": "8.0.51",
- "@types/react": "16.0.22",
+ "@types/next": "^2.4.5",
+ "@types/react": "^16.... | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | package.json | @@ -93,7 +93,7 @@
"send": "0.16.1",
"source-map-support": "0.4.18",
"strip-ansi": "4.0.0",
- "styled-jsx": "2.1.2",
+ "styled-jsx": "2.2.1",
"touch": "3.1.0",
"unfetch": "3.0.0",
"url": "0.11.0", | true |
Other | vercel | next.js | 5daafa4f871cd7affac7da7b37ee849029e381fd.json | Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)
* Remove next.d.ts to use @types/next (#3297)
* Add with-mobx-state-tree example (#3179)
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* ma... | server/document.js | @@ -88,11 +88,11 @@ export class Head extends Component {
const pagePathname = getPagePathname(pathname, nextExport)
return <head {...this.props}>
+ {(head || []).map((h, i) => React.cloneElement(h, { key: h.key || i }))}
<link rel='preload' href={`${assetPrefix}/_next/${buildId}/page${pagePathn... | true |
Other | vercel | next.js | cab6341545a57b1aa36cb70f6263f9547d906cda.json | fix typo in readme.md (#3385) | readme.md | @@ -733,7 +733,7 @@ Supported options:
Then, change your `start` script to `NODE_ENV=production node server.js`.
#### Disabling file-system routing
-By default, `Next` will serve eacy file in `/pages` under a pathname matching the filename (eg, `/pages/some-file.js` is served at `site.com/some-file`.
+By default, `... | false |
Other | vercel | next.js | f6bd1df6aa2255503c08d45836b51574ccf77444.json | Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.
* Use zero as the port.
* Limit test cases.
* throw address.
* Fail a specific error.
* Set a port manually.
* Make sure jest is working properly.
* Set the jest timeout time to 5 min.
* Run the actual test
* Run all producti... | package.json | @@ -29,8 +29,9 @@
"pretestonly": "taskr pretest",
"testonly": "cross-env NODE_PATH=test/lib jest \\.test.js",
"posttestonly": "taskr posttest",
+ "testall": "npm run testonly -- --coverage --forceExit --runInBand --verbose --bail",
"pretest": "npm run lint",
- "test": "npm run testonly -- --co... | true |
Other | vercel | next.js | f6bd1df6aa2255503c08d45836b51574ccf77444.json | Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.
* Use zero as the port.
* Limit test cases.
* throw address.
* Fail a specific error.
* Set a port manually.
* Make sure jest is working properly.
* Set the jest timeout time to 5 min.
* Run the actual test
* Run all producti... | test/integration/basic/test/index.test.js | @@ -16,7 +16,7 @@ import hmr from './hmr'
import dynamic from './dynamic'
const context = {}
-jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 2
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
describe('Basic Features', () => {
beforeAll(async () => { | true |
Other | vercel | next.js | f6bd1df6aa2255503c08d45836b51574ccf77444.json | Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.
* Use zero as the port.
* Limit test cases.
* throw address.
* Fail a specific error.
* Set a port manually.
* Make sure jest is working properly.
* Set the jest timeout time to 5 min.
* Run the actual test
* Run all producti... | test/integration/dist-dir/test/index.test.js | @@ -14,7 +14,7 @@ const appDir = join(__dirname, '../')
let appPort
let server
let app
-jasmine.DEFAULT_TIMEOUT_INTERVAL = 40000
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
describe('Production Usage', () => {
beforeAll(async () => { | true |
Other | vercel | next.js | f6bd1df6aa2255503c08d45836b51574ccf77444.json | Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.
* Use zero as the port.
* Limit test cases.
* throw address.
* Fail a specific error.
* Set a port manually.
* Make sure jest is working properly.
* Set the jest timeout time to 5 min.
* Run the actual test
* Run all producti... | test/integration/ondemand/test/index.test.js | @@ -11,7 +11,7 @@ import {
const context = {}
-jasmine.DEFAULT_TIMEOUT_INTERVAL = 40000
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
describe('On Demand Entries', () => {
it('should pass', () => {}) | true |
Other | vercel | next.js | f6bd1df6aa2255503c08d45836b51574ccf77444.json | Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.
* Use zero as the port.
* Limit test cases.
* throw address.
* Fail a specific error.
* Set a port manually.
* Make sure jest is working properly.
* Set the jest timeout time to 5 min.
* Run the actual test
* Run all producti... | test/integration/production/test/index.test.js | @@ -18,7 +18,7 @@ const appDir = join(__dirname, '../')
let appPort
let server
let app
-jasmine.DEFAULT_TIMEOUT_INTERVAL = 40000
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
const context = {}
| true |
Other | vercel | next.js | f6bd1df6aa2255503c08d45836b51574ccf77444.json | Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.
* Use zero as the port.
* Limit test cases.
* throw address.
* Fail a specific error.
* Set a port manually.
* Make sure jest is working properly.
* Set the jest timeout time to 5 min.
* Run the actual test
* Run all producti... | test/integration/static/test/index.test.js | @@ -11,7 +11,8 @@ import {
import ssr from './ssr'
import browser from './browser'
-jasmine.DEFAULT_TIMEOUT_INTERVAL = 40000
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
+
const appDir = join(__dirname, '../')
const context = {}
| true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/README.md | @@ -0,0 +1,29 @@
+[](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/custom-server-nodemon)
+
+# Custom server with Nodemon example
+
+## How to use
+
+Download the example [or clone the repo](https://github.com/zeit/next.js):
+
+... | true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/nodemon.json | @@ -0,0 +1,3 @@
+{
+ "watch": ["server/**/*.js"]
+} | true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/package.json | @@ -0,0 +1,15 @@
+{
+ "scripts": {
+ "dev": "nodemon server/index.js",
+ "build": "next build",
+ "start": "NODE_ENV=production node server/index.js"
+ },
+ "dependencies": {
+ "next": "^4.1.4",
+ "react": "^16.2.0",
+ "react-dom": "^16.2.0"
+ },
+ "devDependencies": {
+ "nodemon": "^1.12.1"
+... | true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/pages/a.js | @@ -0,0 +1,3 @@
+import React from 'react'
+
+export default () => <div>a</div> | true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/pages/b.js | @@ -0,0 +1,3 @@
+import React from 'react'
+
+export default () => <div>b</div> | true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/pages/index.js | @@ -0,0 +1,9 @@
+import React from 'react'
+import Link from 'next/link'
+
+export default () => (
+ <ul>
+ <li><Link href='/b' as='/a'><a>a</a></Link></li>
+ <li><Link href='/a' as='/b'><a>b</a></Link></li>
+ </ul>
+) | true |
Other | vercel | next.js | cd0e13df01bd04875a5b303301c54680ca72209d.json | Add example of Nodemon on a custom server (#3374) | examples/custom-server-nodemon/server/index.js | @@ -0,0 +1,28 @@
+const { createServer } = require('http')
+const { parse } = require('url')
+const next = require('next')
+
+const port = parseInt(process.env.PORT, 10) || 3000
+const dev = process.env.NODE_ENV !== 'production'
+const app = next({ dev })
+const handle = app.getRequestHandler()
+
+app.prepare()
+.then(... | true |
Other | vercel | next.js | a9ccf1e147f8ed737dd58f6a611e01562bb92bd1.json | Make sure benchmark runs in the production mode. | bench/package.json | @@ -2,7 +2,7 @@
"name": "next-bench",
"scripts": {
"build": "next build",
- "start": "npm run build && next start",
+ "start": "NODE_ENV=production npm run build && NODE_ENV=production next start",
"bench:stateless": "ab -c1 -n3000 http://0.0.0.0:3000/stateless",
"bench:stateless-big": "ab -c... | false |
Other | vercel | next.js | 72827d25cb5990156436d5fffc4bd3ab7a4bdd38.json | Add note about NODE_ENV being set automatically | readme.md | @@ -1035,6 +1035,8 @@ Then run `now` and enjoy!
Next.js can be deployed to other hosting solutions too. Please have a look at the ['Deployment'](https://github.com/zeit/next.js/wiki/Deployment) section of the wiki.
+Note: `NODE_ENV` is properly configured by the `next` subcommands, if absent, to maximize performan... | false |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/root-static-files/package.json | @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.5.4",
- "react-dom": "^15.5.4"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/using-inferno/package.json | @@ -12,8 +12,8 @@
"inferno-server": "^1.4.0",
"module-alias": "^2.0.0",
"next": "latest",
- "react": "^15.6.1",
- "react-dom": "^15.6.1"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "MIT"
} | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/using-preact/package.json | @@ -11,8 +11,8 @@
"next": "latest",
"preact": "^7.2.0",
"preact-compat": "^3.14.0",
- "react": "^15.6.1",
- "react-dom": "^15.6.1"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC",
"devDependencies": { | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-ant-design/package.json | @@ -10,8 +10,11 @@
"antd": "^2.10.2",
"babel-plugin-import": "^1.1.1",
"next": "latest",
- "react": "^15.5.4",
- "react-dom": "^15.5.4"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
- "license": "ISC"
+ "license": "ISC",
+ "devDependencies": {
+ "babel-plugin-transform-decorators... | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-antd-mobile/package.json | @@ -5,8 +5,8 @@
"antd-mobile": "1.4.0",
"babel-plugin-import": "^1.2.1",
"next": "latest",
- "react": "^15.6.1",
- "react-dom": "^15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"require-hacker": "^3.0.0",
"svg-sprite-loader": "0.3.1"
}, | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-freactal/package.json | @@ -10,8 +10,8 @@
"freactal": "^1.1.1",
"isomorphic-fetch": "^2.2.1",
"next": "latest",
- "react": "^15.6.1",
- "react-dom": "^15.6.1"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-react-toolbox/package.json | @@ -10,9 +10,9 @@
"dependencies": {
"classnames": "^2.2.5",
"next": "latest",
- "react": "^15.5.4",
+ "react": "^16.0.0",
"react-addons-css-transition-group": "^15.5.2",
- "react-dom": "^15.5.4",
+ "react-dom": "^16.0.0",
"react-toolbox": "^2.0.0-beta.8"
},
"devDependencies": { | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-react-uwp/package.json | @@ -4,8 +4,8 @@
"dependencies": {
"babel-core": "^6.25.0",
"next": "latest",
- "react": "^15.5.4",
- "react-dom": "^15.5.4",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-uwp": "^1.0.9"
},
"scripts": { | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-react-with-styles/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"aphrodite": "^1.2.1",
"next": "latest",
- "react": "^15.6.1",
- "react-dom": "^15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-with-styles": "^1.4.0",
"react-with-styles-interface-aphrodite": "^1.2.0"
}, | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | 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": "~15.6.1",
- "react-dom": "~15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-redux": "~5.0.5",
"redux": "~3.7.2",
"redux-devtools-extension": "~2.13.2", | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-redux-saga/package.json | @@ -13,8 +13,8 @@
"next": "latest",
"next-redux-saga": "1.0.1",
"next-redux-wrapper": "1.2.0",
- "react": "15.6.1",
- "react-dom": "15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-redux": "5.0.5",
"redux": "3.7.2",
"redux-saga": "0.15.4" | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-webpack-bundle-analyzer/package.json | @@ -11,8 +11,8 @@
"next": "latest",
"cross-env": "^5.0.1",
"faker": "^4.1.0",
- "react": "^15.6.1",
- "react-dom": "^15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"webpack-bundle-analyzer": "^2.8.2"
},
"license": "ISC" | true |
Other | vercel | next.js | 78aa068a127fbee53a4f5f73c3c101ea11c00d61.json | Upgrade React for examples with next@latest (#3196) | examples/with-webpack-bundle-size-analyzer/package.json | @@ -11,8 +11,8 @@
"cross-env": "^5.0.1",
"faker": "^4.1.0",
"next": "latest",
- "react": "^15.6.1",
- "react-dom": "^15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"webpack-bundle-size-analyzer": "^2.7.0"
},
"license": "ISC" | true |
Other | vercel | next.js | 814b1821e6616621248a2c7a83f5cd352f0c68e9.json | Remove extra word (#3193) | readme.md | @@ -62,7 +62,7 @@ npm install --save next react react-dom
```
> Next.js 4 only supports [React 16](https://reactjs.org/blog/2017/09/26/react-v16.0.html).<br/>
-> We had to drop React 15 support due to the way how React 16 works and how we use it.
+> We had to drop React 15 support due to the way React 16 works and ... | false |
Other | vercel | next.js | 2d3192e4b8e43d4404fcc14058229197df8b9e70.json | Update styled components for React 16 (#3187)
Next 4 only works with React 16, so for this example to work we need an update. | examples/with-styled-components/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"babel-plugin-styled-components": "^1.1.5",
"next": "latest",
- "react": "^15.6.1",
- "react-dom": "^15.6.1",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"styled-components": "^2.1.0"
},
"license": "ISC" | false |
Other | vercel | next.js | ef157d97a7b2b870b922d4adcb86be2b777486e6.json | Add auto-publishing of new tags (#3100)
* Add auto-publishing of new tags
* Fix paste
* Valid json
* Remove now installation | .travis.yml | @@ -1,20 +1,56 @@
-sudo: required
-dist: trusty
-addons:
- apt:
- sources:
- - google-chrome
- packages:
- - google-chrome-stable
-language: node_js
-node_js:
- - "6"
-cache:
- directories:
- - node_modules
-before_install:
- - rm yarn.lock
- - export DISPLAY=:99.0
- - sh -e /etc/init.d/xvfb st... | false |
Other | vercel | next.js | e5c46c2632202b5dfd1f7f2d3d265b2214ab1a80.json | Update React on with-socket.io example (#3151)
Next.js v4 requires React v16. | examples/with-socket.io/package.json | @@ -5,8 +5,8 @@
"express": "^4.15.2",
"isomorphic-fetch": "^2.2.1",
"next": "latest",
- "react": "^15.5.4",
- "react-dom": "^15.5.4",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"socket.io": "^1.7.3",
"socket.io-client": "^1.7.3"
}, | false |
Other | vercel | next.js | 03324880a8fce13e99cd3a7a9fe1fc5fde7fa2c8.json | Add asPath on the server (#3149)
* Add asPath on the server
* Make sure we don’t include `?` when there is no query | server/render.js | @@ -70,7 +70,7 @@ async function doRender (req, res, pathname, query, {
const app = createElement(App, {
Component: enhancer(Component),
props,
- router: new Router(pathname, query)
+ router: new Router(pathname, query, asPath)
})
const render = staticMarkup ? renderToStaticMark... | true |
Other | vercel | next.js | 03324880a8fce13e99cd3a7a9fe1fc5fde7fa2c8.json | Add asPath on the server (#3149)
* Add asPath on the server
* Make sure we don’t include `?` when there is no query | test/integration/basic/pages/nav/with-hoc.js | @@ -8,7 +8,8 @@ const Link = withRouter(({router, children, href}) => {
return (
<div>
- <span>Current path: {router.pathname}</span>
+ <span id='pathname'>Current path: {router.pathname}</span>
+ <span id='asPath'>Current asPath: {router.asPath}</span>
<a href='#' onClick={handleClick}>... | true |
Other | vercel | next.js | 03324880a8fce13e99cd3a7a9fe1fc5fde7fa2c8.json | Add asPath on the server (#3149)
* Add asPath on the server
* Make sure we don’t include `?` when there is no query | test/integration/basic/test/client-navigation.js | @@ -407,8 +407,11 @@ export default (context, render) => {
it('should navigate as expected', async () => {
const browser = await webdriver(context.appPort, '/nav/with-hoc')
- const spanText = await browser.elementByCss('span').text()
- expect(spanText).toBe('Current path: /nav/with-hoc')... | true |
Other | vercel | next.js | 03324880a8fce13e99cd3a7a9fe1fc5fde7fa2c8.json | Add asPath on the server (#3149)
* Add asPath on the server
* Make sure we don’t include `?` when there is no query | test/integration/basic/test/rendering.js | @@ -1,4 +1,4 @@
-/* global describe, test, expect */
+/* global describe, test, it, expect */
import cheerio from 'cheerio'
@@ -79,5 +79,19 @@ export default function ({ app }, suiteName, render) {
expect($('h1').text()).toBe('404')
expect($('h2').text()).toBe('This page could not be found.')
})... | true |
Other | vercel | next.js | 03324880a8fce13e99cd3a7a9fe1fc5fde7fa2c8.json | Add asPath on the server (#3149)
* Add asPath on the server
* Make sure we don’t include `?` when there is no query | test/lib/next-test-utils.js | @@ -17,13 +17,13 @@ export const nextBuild = build
export const nextExport = _export
export const pkg = _pkg
-export function renderViaAPI (app, pathname, query = {}) {
- const url = `${pathname}?${qs.stringify(query)}`
+export function renderViaAPI (app, pathname, query) {
+ const url = `${pathname}${query ? `?$... | true |
Other | vercel | next.js | 8e55adf4ecf35d1edb105b2817a42d144645d46c.json | Render error as errorHtml (#3142) | server/render.js | @@ -78,17 +78,20 @@ async function doRender (req, res, pathname, query, {
let html
let head
let errorHtml = ''
+
try {
- html = render(app)
+ if (err && dev) {
+ errorHtml = render(createElement(ErrorDebug, { error: err }))
+ } else if (err) {
+ errorHtml = render(app)
+... | false |
Other | vercel | next.js | f1f83507dbf655ceb67a07b41a2765e00499add3.json | Use nonce attribute for inline script if provided (#3129) | server/document.js | @@ -117,6 +117,10 @@ export class Main extends Component {
}
export class NextScript extends Component {
+ static propTypes = {
+ nonce: PropTypes.string
+ }
+
static contextTypes = {
_documentProps: PropTypes.any
}
@@ -176,7 +180,7 @@ export class NextScript extends Component {
__NEXT_DATA__.c... | false |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/basic-css/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/custom-server-express/package.json | @@ -9,7 +9,7 @@
"dependencies": {
"express": "^4.14.0",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/custom-server-fastify/package.json | @@ -9,7 +9,7 @@
"dependencies": {
"fastify": "^0.29.2",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/custom-server-hapi/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"hapi": "^16.1.0",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"good": "^7.1.0",
"good-console": "^6.2.0"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/custom-server-koa/package.json | @@ -10,7 +10,7 @@
"koa": "^2.0.1",
"koa-router": "^7.1.0",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/custom-server/package.json | @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/data-fetch/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"isomorphic-fetch": "^2.2.1",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/head-elements/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/hello-world/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/layout-component/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/nested-components/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/page-transitions/package.json | @@ -12,8 +12,8 @@
"next": "latest",
"next-routes": "^1.0.40",
"raf": "^3.3.2",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/parameterized-routing/package.json | @@ -9,7 +9,7 @@
"dependencies": {
"next": "latest",
"path-match": "1.2.4",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/progressive-render/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-no-ssr": "1.1.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/shared-modules/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/ssr-caching/package.json | @@ -10,7 +10,7 @@
"express": "^4.14.0",
"lru-cache": "^4.0.2",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/using-router/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/using-with-router/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"hoist-non-react-statics": "^2.2.2",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-amp/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-aphrodite/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"aphrodite": "^1.1.0",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"author": "",
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-babel-macros/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "MIT", | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-configured-preset-env/package.json | @@ -6,7 +6,7 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-custom-babel-config/package.json | @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"author": "",
"license": "ISC", | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-cxs/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"cxs": "^3.0.0",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"author": "",
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-dotenv/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"babel-plugin-inline-dotenv": "^1.1.1",
"babel-plugin-transform-inline-environment-variables": "^0.1.1"
}, | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-dynamic-import/package.json | @@ -11,8 +11,8 @@
},
"dependencies": {
"next": "^3.0.6",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"author": "",
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-external-scoped-css/package.json | @@ -11,8 +11,8 @@
},
"dependencies":{
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"devDependencies": {
"babel-plugin-css-modules-transform": "^1.2.1", | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-fela/package.json | @@ -11,8 +11,8 @@
"fela-dom": "5.0.2",
"fela-preset-web": "^5.0.2",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-fela": "^5.0.2"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-firebase-authentication/package.json | @@ -14,8 +14,8 @@
"firebase-admin": "^4.2.0",
"isomorphic-fetch": "2.2.1",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"session-file-store": "^1.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-flow/package.json | @@ -11,8 +11,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"devDependencies": {
"babel-eslint": "^7.1.1", | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-glamor/package.json | @@ -9,8 +9,8 @@
"dependencies": {
"glamor": "^2.20.24",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-glamorous/package.json | @@ -10,8 +10,8 @@
"glamor": "^2.20.24",
"glamorous": "^1.0.0",
"next": "^2.0.1",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-higher-order-component/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-i18next/package.json | @@ -10,8 +10,8 @@
"i18next": "^7.1.3",
"isomorphic-fetch": "^2.2.1",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-i18next": "^2.2.1"
},
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-loading/package.json | @@ -11,8 +11,8 @@
"dependencies": {
"next": "latest",
"nprogress": "^0.2.0",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC"
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-mobx/package.json | @@ -10,8 +10,8 @@
"mobx": "^2.7.0",
"mobx-react": "^4.0.4",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"license": "ISC",
"devDependencies": { | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-next-routes/package.json | @@ -9,7 +9,7 @@
"dependencies": {
"next": "latest",
"next-routes": "^1.0.17",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-noscript/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "^3.0.3",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-lazyload": "^2.2.7"
},
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-prefetching/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
},
"author": "",
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-pretty-url-routing/package.json | @@ -11,7 +11,7 @@
"next": "latest",
"next-url-prettifier": "^1.0.2",
"prop-types": "^15.5.6",
- "react": "^15.4.2",
- "react-dom": "^15.4.2"
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-react-ga/package.json | @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-ga": "2.2.0"
},
"author": "", | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-react-helmet/package.json | @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-helmet": "^5.1.3"
}
} | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-react-intl/package.json | @@ -12,8 +12,8 @@
"glob": "^7.1.1",
"intl": "^1.2.5",
"next": "latest",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-intl": "^2.2.3"
},
"license": "ISC" | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-react-md/package.json | @@ -8,10 +8,10 @@
},
"dependencies": {
"next": "latest",
- "react": "^15.4.2",
- "react-addons-css-transition-group": "^15.4.2",
- "react-addons-transition-group": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-addons-css-transition-group": "^16.0.0",
+ "react-addons... | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-redux-reselect-recompose/package.json | @@ -12,8 +12,8 @@
"next": "latest",
"next-redux-wrapper": "^1.0.0",
"prop-types": "^15.5.10",
- "react": "^15.4.2",
- "react-dom": "^15.4.2",
+ "react": "^16.0.0",
+ "react-dom": "^16.0.0",
"react-redux": "^5.0.1",
"recompose": "^0.23.5",
"redux": "^3.6.0", | true |
Other | vercel | next.js | 47d3cfd0fd3c38cf1affbb986d9e2d336cbb7c92.json | Upgrade React for all examples (#3113) | examples/with-redux/package.json | @@ -9,9 +9,9 @@
"dependencies": {
"next": "latest",
"next-redux-wrapper": "^1.0.0",
- "react": "^15.4.2",
+ "react": "^16.0.0",
"redux-devtools-extension": "^2.13.2",
- "react-dom": "^15.4.2",
+ "react-dom": "^16.0.0",
"react-redux": "^5.0.1",
"redux": "^3.6.0",
"redux-thunk... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.