react-native-macos/React
Param Aggarwal 0f2d8e662e [ScrollView] Pick data from older event on coalescing.
Summary:
The `ScrollView` sends important `updatedChildFrames` data to the `ListView` to be able to implement `onChangeVisibleRows` method. Coalescing operates very strongly on older devices like the iPhone 4s where this data is then lost.

Fixes #1782.

`ListView` has a method called `onChangeVisibleRows` that is called whenever the rows visible on screen change. This method is critical to be able to implement deletion/creation of views and hence be conservative in memory usage. I have an infinite scrolling view which uses this method to only render the full rows for what is visible on screen and put placeholders for everything else.

In the `RCTEventDispatcher`, we [coalesce events](522fd33d6f/React/Base/RCTEventDispatcher.m (L135-L152)) that are meant to be sent across the bridge. They are [dequeued](522fd33d6f/React/Base/RCTEventDispatcher.m (L180-L188)) on each
Closes https://github.com/facebook/react-native/pull/1783
Github Author: Param Aggarwal <paramaggarwal@gmail.com>
2015-07-06 17:27:40 -08:00
..
Base [React Native] Change `nil` to `Nil` because it's more correct 2015-07-06 11:15:45 -08:00
Executors [ReactNative] Add PerformanceLogger to measure TTI 2015-06-19 15:01:35 -08:00
Layout Fixed layout bug 2015-05-13 13:24:36 -07:00
Modules Revert "[React Native] Remove layout-only nodes" 2015-06-25 13:30:06 -08:00
React.xcodeproj [React Native] Re-alphabetize file names in Xcode projects 2015-07-06 01:57:06 -08:00
Views [ScrollView] Pick data from older event on coalescing. 2015-07-06 17:27:40 -08:00