/
ashipov
/
react
Обзор
Документация
Войти
/
ashipov
/
react
Код
Запросы
0
Задачи 2.0
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
scripts/rollup/shims/react-native/ReactNative.js
24 строки
600 B
Ricky
[rn] delete the legacy renderers from the sync (#34946)
28 окт 2025, 00:38
Не верифицирован
28 окт 2025, 00:38
90817f8
Код
Авторство
О чём код?
/** * 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. * * @noformat * @nolint * @flow */ 'use strict'; import type {ReactNativeType} from './ReactNativeTypes'; let ReactNative: ReactNativeType; // TODO: Delete the legacy renderer. Only ReactFabric is used now. if (__DEV__) { ReactNative = require('../implementations/ReactNativeRenderer-dev'); } else { ReactNative = require('../implementations/ReactNativeRenderer-prod'); } export default ReactNative;