mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable animations in bridgeless mode on iOS
Reviewed By: ejanzer Differential Revision: D21465166 fbshipit-source-id: b34e8e97330b897e20d9a4b05dba1826df569e16
This commit is contained in:
committed by
Facebook GitHub Bot
parent
77d1380f17
commit
13ee5c4c16
@@ -21,9 +21,7 @@ import typeof AnimatedView from './components/AnimatedView';
|
||||
const AnimatedMock = require('./AnimatedMock');
|
||||
const AnimatedImplementation = require('./AnimatedImplementation');
|
||||
|
||||
//TODO(T57411659): Remove the bridgeless check when Animated perf regressions are fixed.
|
||||
const Animated = ((Platform.isTesting ||
|
||||
(global.RN$Bridgeless && Platform.OS === 'ios')
|
||||
const Animated = ((Platform.isTesting
|
||||
? AnimatedMock
|
||||
: AnimatedImplementation): typeof AnimatedMock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user