@samitouri / QOS-React / commits / 43f07779c4

We only need the root attribute for warnings and server-side rendering

We don't need this for Fiber yet. We can possibly add an expando to check if this is rendered with React or not.

Sebastian Markbage committed Nov 16, 2016 at 15:37 UTC 43f07779c432e9ed835734fbd86b3e99a9445bf9
1 file changed -3
src/renderers/dom/fiber/ReactDOMFiberComponent.js
-3
@@ -580,9 +580,6 @@ var ReactDOMFiberComponent = {
580 didWarnShadyDOM = true;
581 }
582 ReactDOMComponentTree.precacheFiberNode(workInProgress, el);
583 - if (!workInProgress._hostParent) {
584 - DOMPropertyOperations.setAttributeForRoot(el);
585 - }
583 updateDOMProperties(workInProgress, null, props, isCustomComponentTag);
584
585 switch (workInProgress._tag) {