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.
30 lines
623 B
JavaScript
30 lines
623 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_renderSubtreeIntoContainer,
|
|
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';
|