I don't quite understand SwiftUI Navigation. In Compose you have to declare all of your composables ...
h
I don't quite understand SwiftUI Navigation. In Compose you have to declare all of your composables in a nav graph and just do your navigation from there. SwiftUI doesn't have that? Where should I declare my views?
k
It seems like you are using compose navigation, which is not multiplatform. For this, I suggest looking into Decompose (https://github.com/arkivanov/Decompose), which provides a multiplatform navigation tooling
s
If you are doing Compose Multiplatform there is also https://github.com/adrielcafe/voyager/
c
For a simpler option, you can also try Ballast Navigation https://copper-leaf.github.io/ballast/wiki/modules/ballast-navigation/