main
js 23 lines 611 Bytes
Raw
1 /**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @flow
8 */
9
10 // This is the subset of APIs that can be accessed from Server Component modules
11
12 import ReactVersion from 'shared/ReactVersion';
13 export {ReactVersion as version};
14
15 export {default as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE} from './ReactDOMSharedInternals';
16 export {
17 prefetchDNS,
18 preconnect,
19 preload,
20 preloadModule,
21 preinit,
22 preinitModule,
23 } from './shared/ReactDOMFloat';