/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v16.9.0
packages/react-native-renderer/src/ReactFabricInjection.js
29 строк
775 B
Sebastian Markbåge
Remove `import * as` pattern from the codebase (#14282)
20 ноя 2018, 02:32
Не верифицирован
20 ноя 2018, 02:32
c954efa
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import './ReactNativeInjectionShared'; import { getFiberCurrentPropsFromNode, getInstanceFromNode, getNodeFromInstance, } from './ReactFabricComponentTree'; import {setComponentTree} from 'events/EventPluginUtils'; import ReactFabricGlobalResponderHandler from './ReactFabricGlobalResponderHandler'; import ResponderEventPlugin from 'events/ResponderEventPlugin'; setComponentTree( getFiberCurrentPropsFromNode, getInstanceFromNode, getNodeFromInstance, ); ResponderEventPlugin.injection.injectGlobalResponderHandler( ReactFabricGlobalResponderHandler, );