You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RecyclerFlatList allows enabling reporting blank areas on scroll via enableInstrumentation prop. When enabled, useOnNativeBlankAreaEvents hook reports the number of blank points when the list is scrolled.
However, it's possible to use multiple instances of RecyclerFlatList on the screen. In this case, the hook reports events from all instances through the same callback. There is no way to distinguish the metrics of different lists from each other.
One way to allow separate profiling of multiple lists is to make enableInstrumentation prop include listName. This allows discerning between lists based on the name.
The text was updated successfully, but these errors were encountered:
If we move to instance events, we will be able to get track the height of the component in the JS layer and we will no longer have to send it via bridge as mentioned here
What
Per discussion.
More context:
The
RecyclerFlatList
allows enabling reporting blank areas on scroll viaenableInstrumentation
prop. When enabled,useOnNativeBlankAreaEvents
hook reports the number of blank points when the list is scrolled.However, it's possible to use multiple instances of
RecyclerFlatList
on the screen. In this case, the hook reports events from all instances through the same callback. There is no way to distinguish the metrics of different lists from each other.One way to allow separate profiling of multiple lists is to make
enableInstrumentation
prop includelistName
. This allows discerning between lists based on the name.The text was updated successfully, but these errors were encountered: