Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router view rebuilding Tabbar view #74

Open
ManishTatvasoft opened this issue Oct 15, 2024 · 0 comments
Open

Router view rebuilding Tabbar view #74

ManishTatvasoft opened this issue Oct 15, 2024 · 0 comments

Comments

@ManishTatvasoft
Copy link

ManishTatvasoft commented Oct 15, 2024

Hi, I'm encountering an issue while implementing the following code:

RouterView(addNavigationView: true) { router in
                     TabBarView()
}

The problem is that whenever I perform any push or pop operation, the TabBarView() is being rebuilt, causing all the views within TabBarView() to rebuild as well. This is impacting performance and causing unnecessary reinitialisation.

Could you please help me resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant