MCPcopy Create free account
hub / github.com/microsoft/SandDance / shouldDeprioritizeSubtree

Function shouldDeprioritizeSubtree

docs/external/js/react-dom.development.js:7641–7643  ·  view source on GitHub ↗
(type, props)

Source from the content-addressed store, hash-verified

7639 return type === 'textarea' || type === 'option' || type === 'noscript' || typeof props.children === 'string' || typeof props.children === 'number' || typeof props.dangerouslySetInnerHTML === 'object' && props.dangerouslySetInnerHTML !== null && props.dangerouslySetInnerHTML.__html != null;
7640 }
7641 function shouldDeprioritizeSubtree(type, props) {
7642 return !!props.hidden;
7643 }
7644 function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) {
7645 {
7646 var hostContextDev = hostContext;

Callers 2

updateHostComponentFunction · 0.85
beginWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected