Keep passes over the bridge to a minimum!
onScroll
of a ScrollView
that got called for every frame, which contradicts to the above principle.
Move the component to native
Implement onScroll
to native by listen to the scroll events
Hint 1: changing opacity of a native view will influence its children
Hint 2: react tag/node handle
Hint 3: keep 10% of engineers native
Use Animated.ScrollView
and native event
ScrollView, native event, onScroll, performance, react, react native, wix
This information is presented at Jun 3, 2017, check it out from Youtube