We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2866670 commit af5650bCopy full SHA for af5650b
packages/react-dom/src/client/ReactDOM.js
@@ -736,9 +736,8 @@ const DOMRenderer = ReactFiberReconciler({
736
oldText: string,
737
newText: string,
738
): void {
739
- // IE9 will raise an exception if modifying a detached text node
740
- // eslint-disable-next-line
741
- // https://connect.microsoft.com/IE/feedbackdetail/view/944330/invalid-argument-error-when-changing-nodevalue-of-a-text-node-removed-by-setting-innerhtml-on-an-ancestor
+ // IE9 will raise an exception if modifying the value of a
+ // detached text node
742
if (textInstance.parentNode) {
743
textInstance.nodeValue = newText;
744
}
0 commit comments