/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-dom/src/ReactDOMFB.modern.js
30 строк
776 B
Josh Story
[react-dom] move all client code to `react-dom/client` (#28271)
24 апр 2024, 18:50
Не верифицирован
24 апр 2024, 18:50
cb15184
Код
Авторство
О чём код?
/** * 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 {default as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE} from './ReactDOMSharedInternalsFB'; export { createPortal, flushSync, unstable_batchedUpdates, unstable_createEventHandle, unstable_runWithPriority, // DO NOT USE: Temporarily exposed to migrate off of Scheduler.runWithPriority. useFormStatus, useFormState, requestFormReset, prefetchDNS, preconnect, preload, preloadModule, preinit, preinitModule, version, } from './client/ReactDOMClientFB'; export {createRoot, hydrateRoot} from './client/ReactDOMRootFB';