Typo fix in comment (#17111)
Deniz Susman committed
Oct 26, 2019 at 17:33 UTC
3f9c03675894e77e134cce971ae75926441adbce
1 file changed
+1
-1
packages/react-dom/src/client/ReactDOMComponentTree.js
+1
-1
@@ -34,7 +34,7 @@ export function markContainerAsRoot(hostRoot, node) {
34
// If the target node is part of a hydrated or not yet rendered subtree, then
35
// this may also return a SuspenseComponent or HostRoot to indicate that.
36
// Conceptually the HostRoot fiber is a child of the Container node. So if you
37
-// pass the Container node as the targetNode, you wiill not actually get the
37
+// pass the Container node as the targetNode, you will not actually get the
38
// HostRoot back. To get to the HostRoot, you need to pass a child of it.
39
// The same thing applies to Suspense boundaries.
40
export function getClosestInstanceFromNode(targetNode) {