Skip to content

Commit 430fa7f

Browse files
committed
rollback React to 15.0.0
1 parent 455cb93 commit 430fa7f

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

Diff for: examples/.babelrc

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2+
"env": {
3+
"development": {
4+
"plugins": ["react-hot-loader/babel"]
5+
}
6+
},
27
"presets": ["es2015-loose", "stage-0", "react"]
38
}

Diff for: examples/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
},
4444
"dependencies": {
4545
"immutable": "^3.8.1",
46-
"react": "^15.3.0",
46+
"react": "^15.0.0",
4747
"react-base16-styling": "^0.4.7",
48-
"react-dom": "^15.3.0"
48+
"react-dom": "^15.0.0"
4949
}
5050
}

Diff for: examples/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ module.exports = {
4040
module: {
4141
loaders: [{
4242
test: /\.js$/,
43-
loaders: [!isProduction && 'react-hot-loader', 'babel-loader'].filter(Boolean),
43+
loaders: ['babel-loader'].filter(Boolean),
4444
include: path.join(__dirname, 'src')
4545
}, {
4646
test: /\.js$/,
47-
loaders: [!isProduction && 'react-hot-loader', 'babel-loader'].filter(Boolean),
47+
loaders: ['babel-loader'].filter(Boolean),
4848
include: path.join(__dirname, '..', 'src')
4949
}]
5050
}

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
"mocha": "^2.4.5",
5757
"pre-commit": "^1.1.3",
5858
"react": "^15.4.2",
59-
"react-addons-test-utils": "^15.0.1",
59+
"react-addons-test-utils": "^15.0.0",
6060
"react-dom": "^15.4.2",
6161
"rimraf": "^2.5.2"
6262
},
6363
"peerDependencies": {
64-
"react": "^15.3.0",
65-
"react-dom": "^15.3.0"
64+
"react": "^15.0.0",
65+
"react-dom": "^15.0.0"
6666
},
6767
"dependencies": {
6868
"babel-runtime": "^6.6.1",

Diff for: src/ItemRange.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { PropTypes } from 'react';
22
import JSONArrow from './JSONArrow';
33

4-
export default class ItemRange extends React.PureComponent {
4+
export default class ItemRange extends React.Component {
55
static propTypes = {
66
styling: PropTypes.func.isRequired,
77
from: PropTypes.number.isRequired,

0 commit comments

Comments
 (0)