Alias react-dom/server
based on environment
#31035
Labels
area: Server Components
React Server Components
react-dom/server
based on environment
#31035
For now,
react-dom/server
should be aliased toreact-dom/server.(browser|node).(production|development)
via webpack (i.e. code should importreact-dom/server
directly). This more closely matches the longer term strategy for React's bundling using conditional exports.The text was updated successfully, but these errors were encountered: