import * as React from 'react';
export class StaticContainer extends React.Component {
shouldComponentUpdate(nextProps) {
return nextProps.shouldUpdate;
}
render() {
const child = this.props.children;
return (child === null || child === false) ? null : React.Children.only(child);
}
}