and simply just checking it out for our usecase.
I am having trouble understanding how to setup the navigation.
If I have multiple screen:
Login
|
---> Dashboard
|
---> SignUp
|
---> Create Password
|
---> Dashboard
Do I just declare it as a Single Stack Navigation:
Copy code
sealed class Child {
class Login() : Child()
class SignUp() : Child()
class CreatePassword() : Child()
class Dashboard() : Child()
}
My other question is how does
OverlayNavigation<DialogConfig>()
fit into this if I need some Dialog PopUps?
a
Arkadii Ivanov
03/24/2023, 9:32 AM
So your app has two states - logged in and logged out. If logged in, then the dashboard is shown. If logged out, then - either login or sign-up. Is it correct? How Create Password fits in the sign-up flow?
a
Archie
03/24/2023, 9:34 AM
create password is part of the logged out flow..
just really confuse on how to structure them..
Is it correct to have RootComponent to have a NavigationStack
And Login Also have a NavigationStack?
Thanks @Arkadii Ivanov, I think I’m getting a hang of it. There are still things I’m not sure about. Maybe I’ll follow up here some questions. But thanks for the resources.