Skip to content

Commit

Permalink
Export version from react-dom entry with react-server condition (
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable authored May 28, 2024
1 parent 1631227 commit 97722ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react-dom/src/ReactDOMReactServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 97722ca

Please sign in to comment.