File tree 4 files changed +2
-9
lines changed
server/future/route-modules/app-page/vendored/ssr 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -298,11 +298,6 @@ export function createRSCAliases(
298
298
alias [
299
299
'react-dom$'
300
300
] = `next/dist/compiled/react-dom${ bundledReactChannel } /react-dom.react-server`
301
- } else {
302
- // x-ref: https://github.com/facebook/react/pull/25436
303
- alias [
304
- 'react-dom$'
305
- ] = `next/dist/compiled/react-dom${ bundledReactChannel } /server-rendering-stub`
306
301
}
307
302
}
308
303
Original file line number Diff line number Diff line change 1
1
import * as React from 'react'
2
- import * as ReactDOM from 'react-dom/server-rendering-stub '
2
+ import * as ReactDOM from 'react-dom'
3
3
import * as ReactJsxDevRuntime from 'react/jsx-dev-runtime'
4
4
import * as ReactJsxRuntime from 'react/jsx-runtime'
5
5
Original file line number Diff line number Diff line change 1
- declare module 'react-dom/server-rendering-stub'
2
1
declare module 'react-dom/server.browser'
3
2
4
3
declare module 'react-dom/server.edge' {
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ function makeAppAliases(reactChannel = '') {
33
33
return {
34
34
react$ : `next/dist/compiled/react${ reactChannel } ` ,
35
35
'react/react.react-server$' : `next/dist/compiled/react${ reactChannel } /react.react-server` ,
36
- 'react-dom/server-rendering-stub$' : `next/dist/compiled/react-dom${ reactChannel } /server-rendering-stub` ,
37
- 'react-dom$' : `next/dist/compiled/react-dom${ reactChannel } /server-rendering-stub` ,
36
+ 'react-dom$' : `next/dist/compiled/react-dom${ reactChannel } ` ,
38
37
'react/jsx-runtime$' : `next/dist/compiled/react${ reactChannel } /jsx-runtime` ,
39
38
'react/jsx-dev-runtime$' : `next/dist/compiled/react${ reactChannel } /jsx-dev-runtime` ,
40
39
'react-dom/client$' : `next/dist/compiled/react-dom${ reactChannel } /client` ,
You can’t perform that action at this time.
0 commit comments