$ yarn add react-native-collapsible-scroll-view
import scrollViewSync from 'react-native-collapsible-scroll-view';
Used to clear handles, when view is unmounted componentDidUnmount
// Example passing nodes and measurements
scrollViewSync.setScrollViewsHandle(
tabIndices,
this.headerNodeHandle,
this.state.headerHeight - TABBAR_HEIGHT,
this.tabsScrollViewNodeHandle,
this.tabsIndicatorViewNodeHandle,
this.tabContentScrollViewNodeHandle,
initialLayout.width,
this.renderedTabsWidth
);