import ComposableArchitecture import SwiftUI @Reducer struct AppFeature { // ... } struct AppView: View { @Bindable var store: StoreOf var body: some View { NavigationStack( path: $store.scope(state: \.path, action: \.path) ) { SyncUpsListView( store: store.scope(state: \.syncUpsList, action: \.syncUpsList) ) } destination: { store in switch store.case { case let .detail(detailStore): } } } }