react-native-macos/Libraries/Animated
Samuel Susla 8a8a5323cf Fix order of calls for Native Animated Module
Summary:
Changelog: [internal]

Make sure the order of call is preserved for `NativeAnimatedModule`. The order of calls to NativeAnimatedModule needs to be preserved because its internals depend on it. For example, if you `getValue` is called before `createAnimatedNode`, it causes a crash.

To resolve it, we need to enqueue `getValue` onto operationQueue.

Reviewed By: JoshuaGross

Differential Revision: D30035911

fbshipit-source-id: bbd698a96cada5d2b1312a1a689ca99b04a07cdc
2021-08-03 04:04:06 -07:00
..
__tests__ Animated: Setup Experiment Injection 2021-06-02 22:36:13 -07:00
animations pre-suppress this typing errors ahead of 154 2021-06-11 14:31:41 -07:00
components Convert to ESM export 2021-04-07 19:13:45 -07:00
nodes pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00
Animated.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
AnimatedEvent.js Update FlowFixMes to use error codes in react-native-github 2021-03-31 18:21:47 -07:00
AnimatedImplementation.js Animated: Remove `Animated.__PropsOnlyForTests` 2021-05-07 21:05:58 -07:00
AnimatedMock.js Use Animated.event implementation in AnimatedMock 2021-06-22 08:16:42 -07:00
AnimatedWeb.js Update FlowFixMes to use error codes in react-native-github 2021-03-31 18:21:47 -07:00
Easing.js RN: Remove `react-animated` Legacy Package 2020-08-25 14:15:35 -07:00
NativeAnimatedHelper.js Fix order of calls for Native Animated Module 2021-08-03 04:04:06 -07:00
NativeAnimatedModule.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
NativeAnimatedTurboModule.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
SpringConfig.js RN: Remove `react-animated` Legacy Package 2020-08-25 14:15:35 -07:00
bezier.js RN: Remove `react-animated` Legacy Package 2020-08-25 14:15:35 -07:00
createAnimatedComponent.js Animated: Setup Experiment Injection 2021-06-02 22:36:13 -07:00
createAnimatedComponentInjection.js Animated: Setup Experiment Injection 2021-06-02 22:36:13 -07:00
createAnimatedComponent_EXPERIMENTAL.js Add passthroughAnimatedPropsExplicitValues to modern createAnimatedComponent 2021-07-08 09:29:38 -07:00
useAnimatedProps.js Add animation queue to modern createAnimatedComponent 2021-07-08 09:29:38 -07:00