import { Fiber } from '../react-reconciler/ReactInternalTypes' ; import { Container } from './ReactDomRoot' ; const randomKey = Math . random ( ) . toString ( 36 ) . slice ( 2 ) ; const internalContainerInstanceKey = '__reactContainer$' + randomKey ; param hostRoot param node export const markContainerAsRoot = ( hostRoot , node ) => { ; ( node as any ) [ internalContainerInstanceKey ] = hostRoot ; } ;