(text, rootContainerInstance, hostContext, internalInstanceHandle)
| 7642 | return !!props.hidden; |
| 7643 | } |
| 7644 | function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) { |
| 7645 | { |
| 7646 | var hostContextDev = hostContext; |
| 7647 | validateDOMNesting(null, text, hostContextDev.ancestorInfo); |
| 7648 | } |
| 7649 | |
| 7650 | var textNode = createTextNode(text, rootContainerInstance); |
| 7651 | precacheFiberNode(internalInstanceHandle, textNode); |
| 7652 | return textNode; |
| 7653 | } |
| 7654 | // if a component just imports ReactDOM (e.g. for findDOMNode). |
| 7655 | // Some environments might not have setTimeout or clearTimeout. |
| 7656 |
no test coverage detected