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.
ReactDOM.version
react-server
1 parent 651fed2 commit 9ccdd98Copy full SHA for 9ccdd98
packages/next/src/server/route-modules/app-page/vendored/rsc/entrypoints.ts
@@ -69,14 +69,6 @@ if (process.env.TURBOPACK) {
69
}
70
71
72
-if (ReactDOM.version === undefined) {
73
- // FIXME: ReactDOM's 'react-server' entrypoint is missing `.version`,
74
- // which makes our tests fail when it's used, so this is an ugly workaround
75
- // (but should be safe because these are always kept in sync anyway)
76
- // @ts-expect-error
77
- ReactDOM.version = React.version
78
-}
79
-
80
export {
81
React,
82
ReactJsxDevRuntime,
0 commit comments