Just opening this for tracking with the associated PR: #1330 . When: ```js render(<Component />, { container: document }); ``` (Untested: This bug _may_ require that `Component` render a `<body>` element.) Then: ``` TypeError: Cannot read properties of null (reading 'removeChild') ``` Because: ``` // pure.js if (container.parentNode === document.body) { document.body.removeChild(container); } ``` If we first check that `document.body` is not null, then this error will not occur.