mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Match react-dom/static test entrypoints and published entrypoints (#34599)
This commit is contained in:
parent
2622487a74
commit
e08f53b182
|
|
@ -11,19 +11,6 @@
|
|||
import ReactVersion from 'shared/ReactVersion';
|
||||
export {ReactVersion as version};
|
||||
|
||||
export function renderToString() {
|
||||
return require('./src/server/ReactDOMLegacyServerNode').renderToString.apply(
|
||||
this,
|
||||
arguments,
|
||||
);
|
||||
}
|
||||
export function renderToStaticMarkup() {
|
||||
return require('./src/server/ReactDOMLegacyServerNode').renderToStaticMarkup.apply(
|
||||
this,
|
||||
arguments,
|
||||
);
|
||||
}
|
||||
|
||||
export function prerenderToNodeStream() {
|
||||
return require('./src/server/react-dom-server.node').prerenderToNodeStream.apply(
|
||||
this,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user