mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
1.0 KiB
1.0 KiB
Navigation
Learn how to use the navigation tools in the library, including how to best model your domains, how to integrate features in the reducer and view layers, and how to write tests.
Overview
State-driven navigation is a powerful concept in application development, but can be tricky to master. The Composable Architecture provides the tools necessary to model your domains as concisely as possible and drive navigation from state, but there are a few concepts to learn in order to best use these tools.
Topics
Essentials
Tree-based navigation
- doc:TreeBasedNavigation
Presents()PresentationActionReducer/ifLet(_:action:destination:fileID:line:)-4k9by
Stack-based navigation
- doc:StackBasedNavigation
StackStateStackActionStackActionOfStackElementIDReducer/forEach(_:action:destination:fileID:line:)-582rd
Dismissal
DismissEffectDependencies/DependencyValues/dismissDependencies/DependencyValues/isPresented