import { ReactElement } from 'react' ; import { Container } from './container' ; import { reconciler } from './reconciler' ; export function renderIntoContainer ( rootElement , container ) { if ( ! container . fiberRootContainer ) { container . fiberRootContainer = reconciler . createContainer ( container , 0 , false , null ) ; } reconciler . updateContainer ( rootElement , container . fiberRootContainer , null , ( ) => { } ) ; }