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 and nikeee committed May 28, 2024
1 parent 3fee2f7 commit 6c1d9ef
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 6c1d9ef

Please sign in to comment.