@@ -55,7 +55,7 @@ export default class RequestBodyEditor extends PureComponent {
|
||||
}, () => this.onChange(inputValue))
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
if(
|
||||
this.props.value !== nextProps.value &&
|
||||
nextProps.value !== this.state.value
|
||||
|
||||
@@ -25,7 +25,7 @@ export default class Servers extends React.Component {
|
||||
this.setServer(servers.first().get("url"))
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
let {
|
||||
servers,
|
||||
setServerVariableValue,
|
||||
|
||||
@@ -50,7 +50,7 @@ export const makeMappedContainer = (getSystem, getStore, memGetComponent, getCom
|
||||
handleProps(getSystem, mapping, props, {})
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
handleProps(getSystem, mapping, nextProps, this.props)
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ const createClass = component => class extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
const Fallback = ({
|
||||
const Fallback = ({
|
||||
name // eslint-disable-line react/prop-types
|
||||
}) => <div className="fallback">😱 <i>Could not render { name === "t" ? "this component" : name }, see the console.</i></div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user