(text, rootContainerInstance, hostContext, internalInstanceHandle)
| 11214 | return !!props.hidden; |
| 11215 | } |
| 11216 | function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) { |
| 11217 | { |
| 11218 | var hostContextDev = hostContext; |
| 11219 | validateDOMNesting(null, text, hostContextDev.ancestorInfo); |
| 11220 | } |
| 11221 | |
| 11222 | var textNode = createTextNode(text, rootContainerInstance); |
| 11223 | precacheFiberNode(internalInstanceHandle, textNode); |
| 11224 | return textNode; |
| 11225 | } |
| 11226 | // if a component just imports ReactDOM (e.g. for findDOMNode). |
| 11227 | // Some environments might not have setTimeout or clearTimeout. |
| 11228 |
no test coverage detected