From 3f9c03675894e77e134cce971ae75926441adbce Mon Sep 17 00:00:00 2001 From: Deniz Susman Date: Sat, 26 Oct 2019 17:33:05 +0200 Subject: [PATCH] Typo fix in comment (#17111) --- packages/react-dom/src/client/ReactDOMComponentTree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-dom/src/client/ReactDOMComponentTree.js b/packages/react-dom/src/client/ReactDOMComponentTree.js index c0af2a5e2d1ba..ddef2ca64883c 100644 --- a/packages/react-dom/src/client/ReactDOMComponentTree.js +++ b/packages/react-dom/src/client/ReactDOMComponentTree.js @@ -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) {