React
React createPortal was called on the server
React detected createPortal being called during server rendering, which is unsupported because portals require a client-side DOM target.
React
React detected createPortal being called during server rendering, which is unsupported because portals require a client-side DOM target.
Observed message
createPortal was called on the server. Portals are not currently supported on the server. Update your program to conditionally call createPortal on the client only.
Why it happens
How to fix it
Official reference
React Docs: Minified React error #448Related errors
Explore more