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

Function diffHydratedText

lib/assets/react-source/development/react.js:10259–10262  ·  view source on GitHub ↗
(textNode, text)

Source from the content-addressed store, hash-verified

10257 return updatePayload;
10258 }
10259 function diffHydratedText(textNode, text) {
10260 var isDifferent = textNode.nodeValue !== text;
10261 return isDifferent;
10262 }
10263 function warnForUnmatchedText(textNode, text) {
10264 {
10265 warnForTextDifference(textNode.nodeValue, text);

Callers 1

hydrateTextInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected