code: function cleanupAtContainer(container) {
    ReactDOM.unmountComponentAtNode(container)
    if (container.parentNode === document.body) {
      document.body.removeChild(container)
    }
    mountedContainers.delete(container)
  }
docs: maybe one day we'll expose this (perhaps even as a utility returned by render). but let's wait until someone asks for it.