Added ReactNative feature-flag switch between Stack and Fiber builds
Reviewed By: sebmarkbage Differential Revision: D4606164 fbshipit-source-id: 5f25dbc52298d359e11e52341ff3570c797a6ea9
This commit is contained in:
parent
17cb70efdd
commit
6620b1ff7d
|
@ -11,5 +11,8 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
// TODO (bvaughn) Enable Fiber experiement via ReactNativeFeatureFlags
|
||||
module.exports = require('ReactNativeStack');
|
||||
const ReactNativeFeatureFlags = require('ReactNativeFeatureFlags');
|
||||
|
||||
module.exports = ReactNativeFeatureFlags.useFiber
|
||||
? require('ReactNativeFiber')
|
||||
: require('ReactNativeStack')
|
||||
|
|
Loading…
Reference in New Issue