MCPcopy Create free account
hub / github.com/reactjs/react-rails / unhideTextInstance

Function unhideTextInstance

lib/assets/react-source/development/react.js:11328–11330  ·  view source on GitHub ↗
(textInstance, text)

Source from the content-addressed store, hash-verified

11326 instance.style.display = dangerousStyleValue('display', display);
11327 }
11328 function unhideTextInstance(textInstance, text) {
11329 textInstance.nodeValue = text;
11330 } // -------------------
11331 function canHydrateInstance(instance, type, props) {
11332 if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) {
11333 return null;

Callers 1

hideOrUnhideAllChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected