in src/components/utilities/split-panel/index.js [69:76]
componentWillReceiveProps(nextProps) {
const {children} = this.props;
const nextPropsChildrenLength = (nextProps.children || []).filter(filterRealChild).length;
const currentPropsChildrenLength = (children || []).filter(filterRealChild).length;
if (nextPropsChildrenLength !== currentPropsChildrenLength) {
this.resetWidthsState((nextProps.children || []).filter(filterRealChild), nextProps.contentInfo);
}
}