From 40a9e64e1f23e478036c5f302a60e5503ccf3a30 Mon Sep 17 00:00:00 2001 From: Hendrik Liebau Date: Fri, 26 Jan 2018 14:34:05 +0100 Subject: [PATCH] Move a comment to its original location (#12103) `type` was added in #11818 below the comment that belongs to `domNamespace` --- packages/react-dom/src/server/ReactPartialRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-dom/src/server/ReactPartialRenderer.js b/packages/react-dom/src/server/ReactPartialRenderer.js index b07a9b160d7d2..4e6622cac1630 100644 --- a/packages/react-dom/src/server/ReactPartialRenderer.js +++ b/packages/react-dom/src/server/ReactPartialRenderer.js @@ -637,9 +637,9 @@ class ReactDOMServerRenderer { const flatChildren = flattenTopLevelChildren(children); const topFrame: Frame = { + type: null, // Assume all trees start in the HTML namespace (not totally true, but // this is what we did historically) - type: null, domNamespace: Namespaces.html, children: flatChildren, childIndex: 0,