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

Function unhideTextInstance

docs/external/js/react-dom.development.js:7756–7758  ·  view source on GitHub ↗
(textInstance, text)

Source from the content-addressed store, hash-verified

7754 instance.style.display = dangerousStyleValue('display', display);
7755 }
7756 function unhideTextInstance(textInstance, text) {
7757 textInstance.nodeValue = text;
7758 } // -------------------
7759 function canHydrateInstance(instance, type, props) {
7760 if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) {
7761 return null;

Callers 1

hideOrUnhideAllChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected