mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
re-enable moved root warning
This commit is contained in:
@@ -490,12 +490,10 @@ var ReactMount = {
|
||||
// warning is when the container is empty.
|
||||
rootElementsByReactRootID[reactRootID] = containerChild;
|
||||
} else {
|
||||
// Disabled for now until #3436441 is fixed.
|
||||
//
|
||||
// console.warn(
|
||||
// 'ReactMount: Root element has been removed from its original ' +
|
||||
// 'container. New container:', rootElement.parentNode
|
||||
// );
|
||||
console.warn(
|
||||
'ReactMount: Root element has been removed from its original ' +
|
||||
'container. New container:', rootElement.parentNode
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user