mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
correct order of params in documentation (#7989)
This commit is contained in:
@@ -631,7 +631,7 @@ Instead, we have to unmount the existing internal instance and mount the new one
|
||||
// Replace the old node with the new one
|
||||
// Note: this is renderer-specific code and
|
||||
// ideally should live outside of CompositeComponent:
|
||||
prevNode.parentNode.replaceChild(prevNode, nextNode);
|
||||
prevNode.parentNode.replaceChild(nextNode, prevNode);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user