Skip to content

Commit

Permalink
Offscreen todo
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Apr 10, 2021
1 parent 909bd65 commit 4edd83d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-server/src/ReactFizzServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ function renderElement(
// initial HTML is not visible. To support the use of LegacyHidden as a
// true fragment, without an extra DOM node, we would have to hide the
// initial HTML in some other way.
// TODO: Add REACT_OFFSCREEN_TYPE here too with the same capability.
case REACT_LEGACY_HIDDEN_TYPE:
case REACT_DEBUG_TRACING_MODE_TYPE:
case REACT_STRICT_MODE_TYPE:
Expand Down

0 comments on commit 4edd83d

Please sign in to comment.