mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ffa533a19d
Summary: Changelog: [internal] My suggestion is to simplify event dispatching to only two options, synchronous and asynchronous. Why? - Fabric has only been using one queue, `AsynchronousBatched`. - Batching happens even on `AsynchronousUnbatched`. It just batches events until JS thread starts processing them instead of waiting for the main run loop. - It will make it easier to reason about the code in the future once we start utilising different priorities for Concurrent Mode. Reviewed By: JoshuaGross Differential Revision: D28603472 fbshipit-source-id: 14e3a9c15a012c550dc16a044c31d722051a2bdc