I am trying to understand the standard practice of using the BottomNavigationBar for navigating/rendering in Flutter. I've been looking at examples and have seen multiple ways of doing this.
- When a tab is selected do a setstate and render the body.
- When a tab is selected use navigator to navigate to a new screen/page while persisting the BottomNavigationBar
Which is the right thing to do or it depends?