Skip to content

Commit 4edd83d

Browse files
committed
Offscreen todo
1 parent 909bd65 commit 4edd83d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-server/src/ReactFizzServer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,7 @@ function renderElement(
718718
// initial HTML is not visible. To support the use of LegacyHidden as a
719719
// true fragment, without an extra DOM node, we would have to hide the
720720
// initial HTML in some other way.
721+
// TODO: Add REACT_OFFSCREEN_TYPE here too with the same capability.
721722
case REACT_LEGACY_HIDDEN_TYPE:
722723
case REACT_DEBUG_TRACING_MODE_TYPE:
723724
case REACT_STRICT_MODE_TYPE:

0 commit comments

Comments
 (0)