diff --git a/src/renderers/dom/client/ReactMount.js b/src/renderers/dom/client/ReactMount.js index 3aadb2f9b64..22710be7d35 100644 --- a/src/renderers/dom/client/ReactMount.js +++ b/src/renderers/dom/client/ReactMount.js @@ -880,9 +880,29 @@ var ReactMount = { checksum ); - var diffIndex = firstDifferenceIndex(markup, rootMarkup); + var normalizedMarkup = markup; + if (__DEV__) { + // because rootMarkup is retrieved from the DOM, various normalizations + // will have occurred which will not be present in `markup`. Here, + // insert markup into a
or