* Update packages to use React 16

* Rollback to react-router v3

* Use component instead of pure one

* Remove warning about mobx

* Make webpack load css from @parity/ui

* Update enzyme to support react16

* Fix lint

* Use @parity/ui v3

* Update refs of plugin-signer-* deps

* Exclude plugin-signer-* from babel processing

* Reupdate refs to old method

* Update refs again
This commit is contained in:
Amaury Martiny
2017-12-01 12:30:13 +01:00
committed by Jaco Greeff
parent 7663451116
commit 2a7b2c7e32
8 changed files with 1907 additions and 663 deletions

View File

@@ -23,7 +23,6 @@
opacity: 0;
width: 100%;
z-index: 1;
background: white;
}
.full {

View File

@@ -15,13 +15,13 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import { observer } from 'mobx-react';
import React, { PureComponent } from 'react';
import React, { Component } from 'react';
import RequestGroups from './RequestGroups';
import Store from './store';
import styles from './dappRequests.css';
class DappRequests extends PureComponent {
class DappRequests extends Component {
store = Store.get();
handleApproveRequestGroup = requestIds => {

View File

@@ -40,12 +40,17 @@ injectTapEventPlugin();
window.React = window.React || React;
// FIXME
// Not working with React 16
// https://reactjs.org/docs/perf.html
/*
if (process.env.NODE_ENV === 'development') {
// Expose the React Performance Tools on the`window` object
const Perf = require('react-addons-perf');
window.Perf = Perf;
}
*/
const AUTH_HASH = '#/auth?';

View File

@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import mobx from 'mobx';
import * as mobx from 'mobx';
import flatten from 'lodash.flatten';
import { sha3 } from '@parity/api/lib/util/sha3';