I am using react-native-tab-view for the tabs but when I am clicking on tabs transition is very slow. And on swipe it is smooth and fast. What I did to resolve it:- I make all sub component a PureComponent which is being rendered on index change. That means it will not re-render if content is not different from previous. And I crossed checked if components is being re-rendered or not and components are not re-rendering. But still it lagging or slow transition if click on tabs(not on swipe)
↧