Typo fix in comment (#17111)

This commit is contained in:
Deniz Susman
2019-10-26 08:33:05 -07:00
committed by Brandon Dail
parent f6b8d31a76
commit 3f9c036758
+1 -1
View File
@@ -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) {