react-native-macos/React
Samuel Susla 1b592631a7 Prevent redundant dispatches onto RuntimeExecutor queue in AsynchronousEventBeat::induce
Summary:
Changelog: [internal]

Current implementation of `AsynchronousEventBeat` dispatches lambdas through `RuntimeExecutor` regardless if it has done so previously.

So if `AsynchronousEventBeat::induce` is called 30 times, it will dispatch 30 lambdas.

In `AsynchronousEventBeatV2`, we make sure only single lambda is dispatched to `RuntimeExecutor` at a time.

Reviewed By: mdvacca

Differential Revision: D27940300

fbshipit-source-id: 2bad25c86315c1712b4a1da8c1d4702734cec70f
2021-04-24 03:21:09 -07:00
..
AccessibilityResources/en.lproj VoiceOver reads Tab elements as "Tab Description" (#30689) 2021-01-15 11:09:01 -08:00
Base iOS: make RCTSurfaceHostingView have default backgroundColor 2021-04-23 19:54:54 -07:00
CoreModules Bridgeless support for RCTSourceCode 2021-04-21 17:11:53 -07:00
CxxBridge Remove clean up resources when the app is backgrounded experiment 2021-04-07 17:01:04 -07:00
CxxModule Proxing NSException stack trace to NSError object 2020-09-08 13:22:54 -07:00
CxxUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
DevSupport Respect port information if available from RCTBundleURLProvider 2020-08-28 16:01:02 -07:00
FBReactNativeSpec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
Fabric Prevent redundant dispatches onto RuntimeExecutor queue in AsynchronousEventBeat::induce 2021-04-24 03:21:09 -07:00
Inspector Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Modules Pass RCTEventDispatcher to RCTComponentData [6/n] 2021-03-31 16:39:02 -07:00
Profiler Apply clang-format update fixes 2021-01-09 22:11:00 -08:00
Tests Fabric: `RCTParagraphComponentView` now respects the `accessible` property 2021-01-25 21:11:44 -08:00
UIUtils A couple of checks for corner cases in RCTGetDimensions and RCTExportedDimensions 2020-10-01 13:19:52 -07:00
Views Update height for different UIDatePickerStyles 2021-04-22 22:27:22 -07:00
React-RCTFabric.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
third-party.xcconfig Upgrade Folly to v2020.01.13.00 (#27810) 2020-01-21 12:44:00 -08:00