See this example: https://github.com/facebook/react/issues/11508#issuecomment-345464797.

I think it probably reflects a misunderstanding of how props and state work, and we should detect and warn if we see this.
render() {
        return <div>{this.props.children}</div>;
      }
      componentDidMount() {
        this.container = document.createElement('div');
        this.updateTooltip();
      }
      componentDidUpdate() {
        this.updateTooltip();
      }
      updateTooltip = () => {
        
        
        ReactDOM.render(this.props.tooltip, this.container);
      };
    }
    class Component extends React.Component {