mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
670d61bea2
While Meta is still using legacy mode and we can't remove completely, Meta is not using legacy hydration so we should be able to remove that. This is just the first step. Once removed, we can vastly simplify the DOMConfig for hydration. This will have to be rebased when tests are upgraded.
45 lines
1004 B
JavaScript
45 lines
1004 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,
|
|
findDOMNode,
|
|
flushSync,
|
|
render,
|
|
unmountComponentAtNode,
|
|
unstable_batchedUpdates,
|
|
unstable_createEventHandle,
|
|
unstable_renderSubtreeIntoContainer,
|
|
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';
|