MCPcopy Index your code
hub / github.com/microsoft/SandDance / createTextInstance

Function createTextInstance

docs/external/js/react-dom.development.js:7644–7653  ·  view source on GitHub ↗
(text, rootContainerInstance, hostContext, internalInstanceHandle)

Source from the content-addressed store, hash-verified

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

Callers 1

completeWorkFunction · 0.85

Calls 3

validateDOMNestingFunction · 0.85
createTextNodeFunction · 0.85
precacheFiberNodeFunction · 0.85

Tested by

no test coverage detected