mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
8f55a6aa57
Only the FB entry point has legacy mode now so we can move the remaining code in there. Also enable disableLegacyMode in modern www builds since it doesn't expose those entry points. Now dependent on #28709. --------- Co-authored-by: Josh Story <story@hey.com>
26 lines
533 B
JavaScript
26 lines
533 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
export {
|
|
createPortal,
|
|
flushSync,
|
|
unstable_batchedUpdates,
|
|
useFormStatus,
|
|
useFormState,
|
|
prefetchDNS,
|
|
preconnect,
|
|
preload,
|
|
preloadModule,
|
|
preinit,
|
|
preinitModule,
|
|
version,
|
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
|
} from './index.stable.js';
|
|
export {createRoot, hydrateRoot} from './client.js';
|