MCPcopy Index your code
hub / github.com/plotly/dash / shouldSetTextContent

Function shouldSetTextContent

dash/deps/react-dom@18.2.0.js:10989–10991  ·  view source on GitHub ↗
(type, props)

Source from the content-addressed store, hash-verified

10987 return diffProperties(domElement, type, oldProps, newProps);
10988 }
10989 function shouldSetTextContent(type, props) {
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;

Callers 2

popHydrationStateFunction · 0.70
updateHostComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…