mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
unsafe
This commit is contained in:
parent
fde0fdafd0
commit
9d92d3204a
|
@ -57,7 +57,7 @@
|
||||||
"stylelint-processor-styled-components": "^0.0.4"
|
"stylelint-processor-styled-components": "^0.0.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^0.14.9 || ^15.3.0"
|
"react": "^16.3.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"base16": "^1.0.0",
|
"base16": "^1.0.0",
|
||||||
|
|
|
@ -11,7 +11,7 @@ export default class ContextMenu extends Component {
|
||||||
this.updateItems(props.items);
|
this.updateItems(props.items);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (
|
if (
|
||||||
nextProps.items !== this.props.items ||
|
nextProps.items !== this.props.items ||
|
||||||
nextProps.visible !== this.props.visible
|
nextProps.visible !== this.props.visible
|
||||||
|
|
|
@ -28,7 +28,7 @@ export default class Editor extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (nextProps.value !== this.cm.getValue()) {
|
if (nextProps.value !== this.cm.getValue()) {
|
||||||
this.cm.setValue(nextProps.value);
|
this.cm.setValue(nextProps.value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ export default class Tabs extends Component {
|
||||||
this.updateTabs(props);
|
this.updateTabs(props);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (nextProps.selected !== this.props.selected) {
|
if (nextProps.selected !== this.props.selected) {
|
||||||
this.updateTabs(nextProps);
|
this.updateTabs(nextProps);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ export default class TabsHeader extends Component {
|
||||||
this.hiddenTabsWidth = [];
|
this.hiddenTabsWidth = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (
|
if (
|
||||||
nextProps.tabs !== this.props.tabs ||
|
nextProps.tabs !== this.props.tabs ||
|
||||||
nextProps.selected !== this.props.selected ||
|
nextProps.selected !== this.props.selected ||
|
||||||
|
|
|
@ -92,6 +92,6 @@
|
||||||
"styled-components": "^2.4.1"
|
"styled-components": "^2.4.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^16.0.0"
|
"react": "^16.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ class Connection extends Component {
|
||||||
return this.state !== nextState;
|
return this.state !== nextState;
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (this.props.options !== nextProps.options) {
|
if (this.props.options !== nextProps.options) {
|
||||||
this.setState({
|
this.setState({
|
||||||
formData: { ...nextProps.options, type: nextProps.type }
|
formData: { ...nextProps.options, type: nextProps.type }
|
||||||
|
|
|
@ -38,7 +38,7 @@ class DevTools extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUpdate(nextProps) {
|
UNSAFE_componentWillUpdate(nextProps) {
|
||||||
if (nextProps.monitor !== this.props.monitor) this.getMonitor(nextProps);
|
if (nextProps.monitor !== this.props.monitor) this.getMonitor(nextProps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ class Dispatcher extends Component {
|
||||||
changed: false
|
changed: false
|
||||||
};
|
};
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (
|
if (
|
||||||
this.state.selected !== 'default' &&
|
this.state.selected !== 'default' &&
|
||||||
!nextProps.options.actionCreators
|
!nextProps.options.actionCreators
|
||||||
|
|
|
@ -21,7 +21,7 @@ class ChartTab extends Component {
|
||||||
this.createChart(this.props);
|
this.createChart(this.props);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (
|
if (
|
||||||
this.props.theme.scheme !== nextProps.theme.scheme ||
|
this.props.theme.scheme !== nextProps.theme.scheme ||
|
||||||
nextProps.theme.light !== this.props.theme.light
|
nextProps.theme.light !== this.props.theme.light
|
||||||
|
|
|
@ -12,7 +12,7 @@ export default class RawTab extends Component {
|
||||||
return nextProps.data !== this.value;
|
return nextProps.data !== this.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUpdate(nextProps) {
|
UNSAFE_componentWillUpdate(nextProps) {
|
||||||
this.stringifyData(nextProps);
|
this.stringifyData(nextProps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ class SubTabs extends Component {
|
||||||
this.updateTabs(props);
|
this.updateTabs(props);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if (nextProps.parentTab !== this.props.parentTab) {
|
if (nextProps.parentTab !== this.props.parentTab) {
|
||||||
this.updateTabs(nextProps);
|
this.updateTabs(nextProps);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { CONNECT_REQUEST } from './constants/socketActionTypes';
|
||||||
import App from './containers/App';
|
import App from './containers/App';
|
||||||
|
|
||||||
class Root extends Component {
|
class Root extends Component {
|
||||||
componentWillMount() {
|
UNSAFE_componentWillMount() {
|
||||||
configureStore((store, preloadedState) => {
|
configureStore((store, preloadedState) => {
|
||||||
this.store = store;
|
this.store = store;
|
||||||
store.dispatch({
|
store.dispatch({
|
||||||
|
|
|
@ -56,8 +56,8 @@
|
||||||
"webpack-dev-server": "^3.11.0"
|
"webpack-dev-server": "^3.11.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": ">=15.0.0",
|
"react": "^16.3.0",
|
||||||
"react-dom": ">=15.0.0"
|
"react-dom": "^16.3.0"
|
||||||
},
|
},
|
||||||
"author": "Alexander <alexkuz@gmail.com> (http://kuzya.org/)",
|
"author": "Alexander <alexkuz@gmail.com> (http://kuzya.org/)",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
|
|
|
@ -17,7 +17,7 @@ function getTimestamps(actions, actionIds, actionId) {
|
||||||
export default class ActionList extends Component {
|
export default class ActionList extends Component {
|
||||||
shouldComponentUpdate = shouldPureComponentUpdate;
|
shouldComponentUpdate = shouldPureComponentUpdate;
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
const node = this.node;
|
const node = this.node;
|
||||||
if (!node) {
|
if (!node) {
|
||||||
this.scrollDown = true;
|
this.scrollDown = true;
|
||||||
|
|
|
@ -172,7 +172,7 @@ export default class DevtoolsInspector extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
let nextMonitorState = nextProps.monitorState;
|
let nextMonitorState = nextProps.monitorState;
|
||||||
const monitorState = this.props.monitorState;
|
const monitorState = this.props.monitorState;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
"rimraf": "^2.7.1"
|
"rimraf": "^2.7.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^15.0.0 || ^16.0.0",
|
"react": "^16.3.0",
|
||||||
"redux-devtools": "^3.4.0"
|
"redux-devtools": "^3.4.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -114,7 +114,7 @@ export default class LogMonitor extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
const node = this.node;
|
const node = this.node;
|
||||||
if (!node) {
|
if (!node) {
|
||||||
this.scrollDown = true;
|
this.scrollDown = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user