mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
* Removed createReactNativeComponentClassStack and renamed createReactNativeComponentClassFiber => createReactNativeComponentClass * Removed findNumericNodeHandleStack and renamed findNumericNodeHandleFiber => findNumericNodeHandle * Renamed ReactNativeFiberEntry => ReactNativeEntry * Removed all references to ReactNativeFeatureFlags and RN stack * Removed severl RN modules that are no longer used * Renamed ReactNativeEntry => ReactNativeFiberEntry for now. We'll probably remove 'fiber' references later * Update build results json * Deleted snapshot * Re-add accidentally deleted test * Remove now-unnecessary hack in test * Fix lint * RN findNodeHandle no longer adds props directly to read-only owner (#10520) * Added ReactNativeMount-test snapshot for 'renders and reorders children' test
25 lines
616 B
JavaScript
25 lines
616 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
* @providesModule ReactNative
|
|
* @flow
|
|
*/
|
|
'use strict';
|
|
|
|
import type {ReactNativeType} from 'ReactNativeTypes';
|
|
|
|
let ReactNative;
|
|
|
|
if (__DEV__) {
|
|
ReactNative = require('ReactNativeFiber-dev');
|
|
} else {
|
|
ReactNative = require('ReactNativeFiber-prod');
|
|
}
|
|
|
|
module.exports = (ReactNative: ReactNativeType);
|