We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde875d commit c43e29bCopy full SHA for c43e29b
packages/react-server/src/ReactFizzServer.js
@@ -986,7 +986,11 @@ function renderNodeDestructive(
986
return;
987
}
988
case REACT_PORTAL_TYPE:
989
- throw new Error('Not yet implemented node type.');
+ invariant(
990
+ false,
991
+ 'Portals are not currently supported by the server renderer. ' +
992
+ 'Render them conditionally so that they only appear on the client render.',
993
+ );
994
case REACT_LAZY_TYPE:
995
throw new Error('Not yet implemented node type.');
996
0 commit comments