So far I noticed that all NavigationBarItem in MainNavPage are recomposited upon the navigation bar switching to another page. This is definitely wrong. Fortunately, for the NavigationBarItem that is untouched, the content inside is skipped for recomposition. So not sure if it is considered as a performance issue.
So far I noticed that all
NavigationBarItem
inMainNavPage
are recomposited upon the navigation bar switching to another page. This is definitely wrong. Fortunately, for theNavigationBarItem
that is untouched, the content inside is skipped for recomposition. So not sure if it is considered as a performance issue.