nl_tokens: Given a ReactDOMComponent or ReactDOMTextComponent return the corresponding DOM node .
pl_tokens: function getNodeFromInstance$1 ( inst ) { if ( inst . <mask> === HostComponent || inst . tag === HostText ) { // In Fiber this, is just the state node right now. We assume it will be // a host component or host text. return inst . stateNode ; } // Without this first invariant, passing a non-DOM-component triggers the next // invariant for a missing parent, which is super confusing. invariant ( false , 'getNodeFromInstance: Invalid argument.' ) ; }