Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 015d06a

Browse files
ismamztimneutkens
authored andcommitted
Upgrade React for examples with next@latest (vercel#3196)
1 parent 8578038 commit 015d06a

File tree

13 files changed

+30
-27
lines changed

13 files changed

+30
-27
lines changed

‎examples/root-static-files/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"next": "latest",
11-
"react": "^15.5.4",
12-
"react-dom": "^15.5.4"
11+
"react": "^16.0.0",
12+
"react-dom": "^16.0.0"
1313
}
1414
}

‎examples/using-inferno/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"inferno-server": "^1.4.0",
1313
"module-alias": "^2.0.0",
1414
"next": "latest",
15-
"react": "^15.6.1",
16-
"react-dom": "^15.6.1"
15+
"react": "^16.0.0",
16+
"react-dom": "^16.0.0"
1717
},
1818
"license": "MIT"
1919
}

‎examples/using-preact/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"next": "latest",
1212
"preact": "^7.2.0",
1313
"preact-compat": "^3.14.0",
14-
"react": "^15.6.1",
15-
"react-dom": "^15.6.1"
14+
"react": "^16.0.0",
15+
"react-dom": "^16.0.0"
1616
},
1717
"license": "ISC",
1818
"devDependencies": {

‎examples/with-ant-design/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
"antd": "^2.10.2",
1111
"babel-plugin-import": "^1.1.1",
1212
"next": "latest",
13-
"react": "^15.5.4",
14-
"react-dom": "^15.5.4"
13+
"react": "^16.0.0",
14+
"react-dom": "^16.0.0"
1515
},
16-
"license": "ISC"
16+
"license": "ISC",
17+
"devDependencies": {
18+
"babel-plugin-transform-decorators-legacy": "^1.3.4"
19+
}
1720
}

‎examples/with-antd-mobile/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"antd-mobile": "1.4.0",
66
"babel-plugin-import": "^1.2.1",
77
"next": "latest",
8-
"react": "^15.6.1",
9-
"react-dom": "^15.6.1",
8+
"react": "^16.0.0",
9+
"react-dom": "^16.0.0",
1010
"require-hacker": "^3.0.0",
1111
"svg-sprite-loader": "0.3.1"
1212
},

‎examples/with-freactal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"freactal": "^1.1.1",
1111
"isomorphic-fetch": "^2.2.1",
1212
"next": "latest",
13-
"react": "^15.6.1",
14-
"react-dom": "^15.6.1"
13+
"react": "^16.0.0",
14+
"react-dom": "^16.0.0"
1515
},
1616
"license": "ISC"
1717
}

‎examples/with-react-toolbox/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"dependencies": {
1111
"classnames": "^2.2.5",
1212
"next": "latest",
13-
"react": "^15.5.4",
13+
"react": "^16.0.0",
1414
"react-addons-css-transition-group": "^15.5.2",
15-
"react-dom": "^15.5.4",
15+
"react-dom": "^16.0.0",
1616
"react-toolbox": "^2.0.0-beta.8"
1717
},
1818
"devDependencies": {

‎examples/with-react-uwp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"dependencies": {
55
"babel-core": "^6.25.0",
66
"next": "latest",
7-
"react": "^15.5.4",
8-
"react-dom": "^15.5.4",
7+
"react": "^16.0.0",
8+
"react-dom": "^16.0.0",
99
"react-uwp": "^1.0.9"
1010
},
1111
"scripts": {

‎examples/with-react-with-styles/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"dependencies": {
1010
"aphrodite": "^1.2.1",
1111
"next": "latest",
12-
"react": "^15.6.1",
13-
"react-dom": "^15.6.1",
12+
"react": "^16.0.0",
13+
"react-dom": "^16.0.0",
1414
"react-with-styles": "^1.4.0",
1515
"react-with-styles-interface-aphrodite": "^1.2.0"
1616
},

‎examples/with-redux-code-splitting/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"fast-redux": "~0.3.0",
1111
"next": "latest",
1212
"next-redux-wrapper": "~1.3.2",
13-
"react": "~15.6.1",
14-
"react-dom": "~15.6.1",
13+
"react": "^16.0.0",
14+
"react-dom": "^16.0.0",
1515
"react-redux": "~5.0.5",
1616
"redux": "~3.7.2",
1717
"redux-devtools-extension": "~2.13.2",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /