(children, container)
| 28634 | setBatchingImplementation(batchedUpdates$1, discreteUpdates$1, flushDiscreteUpdates, batchedEventUpdates$1); |
| 28635 | |
| 28636 | function createPortal$1(children, container) { |
| 28637 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 28638 | |
| 28639 | if (!isValidContainer(container)) { |
| 28640 | { |
| 28641 | throw Error( "Target container is not a DOM element." ); |
| 28642 | } |
| 28643 | } // TODO: pass ReactDOM portal implementation as third argument |
| 28644 | // $FlowFixMe The Flow type is opaque but there's no way to actually create it. |
| 28645 | |
| 28646 | |
| 28647 | return createPortal(children, container, null, key); |
| 28648 | } |
| 28649 | |
| 28650 | function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) { |
| 28651 |
no test coverage detected