MCPcopy Create free account
hub / github.com/plotly/dash / createTextInstance

Function createTextInstance

dash/deps/react-dom@18.3.1.js:10992–11001  ·  view source on GitHub ↗
(text, rootContainerInstance, hostContext, internalInstanceHandle)

Source from the content-addressed store, hash-verified

10990 return type === 'textarea' || type === 'noscript' || typeof props.children === 'string' || typeof props.children === 'number' || typeof props.dangerouslySetInnerHTML === 'object' && props.dangerouslySetInnerHTML !== null && props.dangerouslySetInnerHTML.__html != null;
10991 }
10992 function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) {
10993 {
10994 var hostContextDev = hostContext;
10995 validateDOMNesting(null, text, hostContextDev.ancestorInfo);
10996 }
10997
10998 var textNode = createTextNode(text, rootContainerInstance);
10999 precacheFiberNode(internalInstanceHandle, textNode);
11000 return textNode;
11001 }
11002 function getCurrentEventPriority() {
11003 var currentEvent = window.event;
11004

Callers 1

completeWorkFunction · 0.70

Calls 3

validateDOMNestingFunction · 0.70
createTextNodeFunction · 0.70
precacheFiberNodeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…