What's the best way to use FlowStacks in a TabView environment? #56
Unanswered
fishcharlie
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Thanks for your question @fishcharlie! I would definitely recommend using a separate Router for each tab. The alternative I guess is having a single Router that has the TabView as its root screen? I suppose that should work, but the tab bar would disappear whenever you push a new screen, and I don't think that's the idiomatic way navigation works on iOS. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically I have a bunch of tabs in a TabView, and my goal is to implement FlowStacks to make deep linking easier.
Each tab is a different page that could be represented in FlowStacks. But not sure if this is the right approach. I could implement a new Router for each tab, but that feels like a lot of repetitive code especially when some tabs might want to reuse views from other tabs eventually as the user navigates through the content.
What is the recommended approach here?
Beta Was this translation helpful? Give feedback.
All reactions