Skip to content

Commit

Permalink
Typo fix in comment (#17111)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenrizSusam authored and aweary committed Oct 26, 2019
1 parent f6b8d31 commit 3f9c036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom/src/client/ReactDOMComponentTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function markContainerAsRoot(hostRoot, node) {
// If the target node is part of a hydrated or not yet rendered subtree, then
// this may also return a SuspenseComponent or HostRoot to indicate that.
// Conceptually the HostRoot fiber is a child of the Container node. So if you
// pass the Container node as the targetNode, you wiill not actually get the
// pass the Container node as the targetNode, you will not actually get the
// HostRoot back. To get to the HostRoot, you need to pass a child of it.
// The same thing applies to Suspense boundaries.
export function getClosestInstanceFromNode(targetNode) {
Expand Down

0 comments on commit 3f9c036

Please sign in to comment.