React portal

Date: 2020-06-30

https://reactjs.org/docs/portals.html

render() {
  // React does *not* create a new div. It renders the children into `domNode`.
  // `domNode` is any valid DOM node, regardless of its location in the DOM.
  return ReactDOM.createPortal(
    this.props.children,
    domNode  );
}
37990cookie-checkReact portal