Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore layout animation props on web (software-mansion#3714)
## Description Fixes software-mansion#3464. Currently, Layout Animations are implemented only on Android and iOS. Using `Animated.View` with `entering`, `layout` or `exiting` prop on web should be a no-op, but instead it throws the following error: ``` TypeError: e.LayoutAnimationRepository is undefined t createAnimatedComponent.js:151 setLocalRef createAnimatedComponent.js:149 default setAndForwardRef.js:7 r index.js:22 ``` In this PR I've changed the implementation of `createAnimatedComponent` to disable configuration of layout animation on web, in particular to avoid calling `global.LayoutAnimationRepository.registerConfig(tag, config);`.
- Loading branch information