Files
react-native/ReactCommon/fabric/components/scrollview
Samuel Susla b31149cf90 Introduce BatchedEventQueue::enqueueUniqueEvent
Summary:
Changelog: [Internal]

`BatchedEventQueue::enqueueUniqueEvent` goes over event queue and deletes previous event of the same type and same target.

This is useful for ScrollView for example where only the latest event is relevant.
This only affects ScrollView scroll event, other events take the original code path.

Reviewed By: mdvacca

Differential Revision: D21648906

fbshipit-source-id: a80ad652058fd50ebb55e24a87229cdc1764b591
2020-05-21 11:56:22 -07:00
..
2019-10-16 10:06:34 -07:00
2020-05-15 21:55:52 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00