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

TabNavigator scoped ScreenModel #264

Closed
hypergonial opened this issue Nov 26, 2023 · 1 comment
Closed

TabNavigator scoped ScreenModel #264

hypergonial opened this issue Nov 26, 2023 · 1 comment

Comments

@hypergonial
Copy link

Hello!

#233 added support for Navigator scoped ScreenModels, and I was wondering if it was possible (or if it even makes sense?) to add TabNavigator scoped ScreenModels as well. And if not, what workarounds would you advise?

Thanks!

@Syer10
Copy link
Contributor

Syer10 commented Nov 26, 2023

LocalNavigator inside a TabNavigator will point to the TabNaviagor's navigator. You can use that for scoped ScreenModels

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

2 participants