Export version from react-dom entry with react-server condition (#29596)

This commit is contained in:
Hendrik Liebau
2024-05-28 21:47:47 +02:00
committed by GitHub
parent 163122766b
commit 97722ca3d4

View File

@@ -8,6 +8,10 @@
*/
// This is the subset of APIs that can be accessed from Server Component modules
import ReactVersion from 'shared/ReactVersion';
export {ReactVersion as version};
export {default as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE} from './ReactDOMSharedInternals';
export {
prefetchDNS,