Update react-redux to 6.0.0-beta.2, enable react concurrent mode, use strict equality mapState checks

This commit is contained in:
Ken-Håvard Lieng 2018-11-09 08:11:01 +01:00
parent 04852cdf58
commit 9c9b05d479
11 changed files with 288 additions and 217 deletions

View file

@ -1,4 +1,3 @@
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import App from 'components/App';
import { getConnected } from 'state/app';
@ -7,6 +6,7 @@ import { getPrivateChats } from 'state/privateChats';
import { getServers } from 'state/servers';
import { getSelectedTab, select } from 'state/tab';
import { getShowTabList, hideMenu } from 'state/ui';
import connect from 'utils/connect';
import { push } from 'utils/router';
const mapState = createStructuredSelector({