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

Function didNotHydrateInstance

docs/external/js/react-dom.development.js:7905–7913  ·  view source on GitHub ↗
(parentType, parentProps, parentInstance, instance)

Source from the content-addressed store, hash-verified

7903 }
7904 }
7905 function didNotHydrateInstance(parentType, parentProps, parentInstance, instance) {
7906 if ( parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
7907 if (instance.nodeType === ELEMENT_NODE) {
7908 warnForDeletedHydratableElement(parentInstance, instance);
7909 } else if (instance.nodeType === COMMENT_NODE) ; else {
7910 warnForDeletedHydratableText(parentInstance, instance);
7911 }
7912 }
7913 }
7914 function didNotFindHydratableContainerInstance(parentContainer, type, props) {
7915 {
7916 warnForInsertedHydratedElement(parentContainer, type);

Callers 1

deleteHydratableInstanceFunction · 0.85

Tested by

no test coverage detected