react-native-composite-navigation
react-native-composite-navigation copied to clipboard
use StateUtils.jumpTo(),it will re-render the prevscenes.
Hello,when i jump between the different tabs and use StateUtils.jumpTo(),it will re-render the prescenes ,then it jumped that tab. I don't know why use jumpTo(),all the secenes will re-redner ervey time when i click another tab's secene.
Hey @sunny635533 this example does not use NavigationStack per tab Basically you should use NavigationStack per Tab to not re-render on changing Tabs. You should initially set routes for those tabs and navigate between them.
I created this repo when Navigation was still experimental in react-native. You should use this react navigation solution instead.
@nak1b thanks,i am reading it now.