mirror of
https://github.com/facebook/react.git
synced 2026-02-25 23:34:59 +00:00
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>
41 lines
914 B
JavaScript
41 lines
914 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,
|
|
unstable_createEventHandle,
|
|
unstable_runWithPriority, // DO NOT USE: Temporarily exposed to migrate off of Scheduler.runWithPriority.
|
|
useFormStatus,
|
|
useFormState,
|
|
prefetchDNS,
|
|
preconnect,
|
|
preload,
|
|
preloadModule,
|
|
preinit,
|
|
preinitModule,
|
|
version,
|
|
} from './index.js';
|
|
|
|
export {createRoot, hydrateRoot} from './client.js';
|
|
|
|
export {
|
|
createComponentSelector,
|
|
createHasPseudoClassSelector,
|
|
createRoleSelector,
|
|
createTestNameSelector,
|
|
createTextSelector,
|
|
getFindAllNodesFailureDescription,
|
|
findAllNodes,
|
|
findBoundingRects,
|
|
focusWithin,
|
|
observeVisibleRects,
|
|
} from 'react-reconciler/src/ReactFiberReconciler';
|