From 9038d75925aa0bcc6cdf0bfb45b7f78415b3d465 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sat, 9 Jun 2018 12:18:44 +0200 Subject: Migrate to react 16 and blueprint 2 --- frontend/package.json | 9 +- frontend/src/index.js | 2 +- frontend/src/scenes/SplashScreen/index.js | 2 +- frontend/yarn.lock | 160 ++++++++++++------------------ 4 files changed, 70 insertions(+), 103 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 37bf4ce5..18738414 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,18 +11,17 @@ "react-scripts": "^1.1.4" }, "dependencies": { - "@blueprintjs/core": "^1.24.0", + "@blueprintjs/core": "^2.3.1", "history": "^4.6.3", "immutable": "^3.8.1", "normalizr": "^3.2.3", - "react": "^15.6.1", - "react-addons-css-transition-group": "^15.0.1", - "react-dom": "^15.6.1", + "react": "^16.4.0", + "react-dom": "^16.4.0", "react-redux": "^5.0.7", "react-redux-toastr": "^7.2.3", "react-router-dom": "^4.2.2", "react-router-redux": "^5.0.0-alpha.9", - "rebass": "^0.3.3", + "react-transition-group": "^2.3.1", "redux": "^4.0.0", "redux-immutable": "^4.0.0", "redux-saga": "^0.16.0", diff --git a/frontend/src/index.js b/frontend/src/index.js index 1a7a0859..8e82b96a 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -1,5 +1,5 @@ // @flow -import '@blueprintjs/core/dist/blueprint.css'; +import '@blueprintjs/core/lib/css/blueprint.css'; import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/frontend/src/scenes/SplashScreen/index.js b/frontend/src/scenes/SplashScreen/index.js index 5d9af862..1eee4e1b 100644 --- a/frontend/src/scenes/SplashScreen/index.js +++ b/frontend/src/scenes/SplashScreen/index.js @@ -34,7 +34,7 @@ class SplashScreenPresenter extends Component { } renderSubmit = () => ( -