@samitouri / QOS-React-2 / commits / 99f9de9a6a

Fix typo in ReactDOMServerFormatConfig.js (#22203)

Fix typo: TOOD -> TODO

Konstantin Popov committed Sep 6, 2021 at 21:58 UTC 99f9de9a6ae07fe4e34b96c1a931e8b403409bfd
1 file changed +1 -1
packages/react-dom/src/server/ReactDOMServerFormatConfig.js
+1 -1
@@ -1706,7 +1706,7 @@ export function writeEndSegment(
1706 // // Clear all the existing children. This is complicated because
1707 // // there can be embedded Suspense boundaries in the fallback.
1708 // // This is similar to clearSuspenseBoundary in ReactDOMHostConfig.
1709 -// // TOOD: We could avoid this if we never emitted suspense boundaries in fallback trees.
1709 +// // TODO: We could avoid this if we never emitted suspense boundaries in fallback trees.
1710 // // They never hydrate anyway. However, currently we support incrementally loading the fallback.
1711 // const parentInstance = suspenseNode.parentNode;
1712 // let node = suspenseNode.nextSibling;