Update react-redux to 6.0.0-beta.2, enable react concurrent mode, use strict equality mapState checks
This commit is contained in:
parent
04852cdf58
commit
9c9b05d479
11 changed files with 288 additions and 217 deletions
|
@ -1,5 +1,4 @@
|
|||
import { bindActionCreators } from 'redux';
|
||||
import { connect } from 'react-redux';
|
||||
import { createStructuredSelector } from 'reselect';
|
||||
import Chat from 'components/pages/Chat';
|
||||
import { getSelectedTabTitle } from 'state';
|
||||
|
@ -35,6 +34,7 @@ import {
|
|||
import { getSettings } from 'state/settings';
|
||||
import { getSelectedTab, select } from 'state/tab';
|
||||
import { getShowUserList, toggleUserList } from 'state/ui';
|
||||
import connect from 'utils/connect';
|
||||
|
||||
const mapState = createStructuredSelector({
|
||||
channel: getSelectedChannel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue