Skip to content

Commit

Permalink
Use React instead of react-lite
Browse files Browse the repository at this point in the history
The react-lite library keeps compatibility with React 15.x which
is slowly deprecating.

Various Cockpit's npm dependencies are starting to require React 16
features, namely i.e. patternfly-react.

Closes #9263
  • Loading branch information
mareklibra authored and martinpitt committed Sep 23, 2018
1 parent 58c2c62 commit bf2a4cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"bootstrap": "3.3.7",
"bootstrap-datepicker": "1.8.0",
"c3": "0.4.23",
"create-react-class": "15.6.3",
"d3": "3.5.17",
"jquery": "3.3.1",
"jquery-flot": "0.8.3",
Expand All @@ -27,10 +28,12 @@
"patternfly-bootstrap-combobox": "1.1.7",
"patternfly-react": "1.19.1",
"promise": "8.0.2",
"prop-types": "15.6.1",
"qunit-tap": "1.5.1",
"qunitjs": "1.23.1",
"react-bootstrap": "0.32.4",
"react-lite": "0.15.39",
"react": "16.4.0",
"react-dom": "16.4.0",
"react-redux": "5.0.7",
"react-remarkable": "1.1.3",
"redux": "3.7.2",
Expand Down
2 changes: 0 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ var aliases = {
"angular-route": "angular-route/angular-route.js",
"d3": "d3/d3.js",
"moment": "moment/moment.js",
"react": "react-lite/dist/react-lite.js",
"react-dom": "react-lite/dist/react-lite.js",
"term": "term.js-cockpit/src/term.js"
};

Expand Down

0 comments on commit bf2a4cf

Please sign in to comment.