mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-20 09:11:33 +01:00
* Fix a bunch of DocC references. * wip * doc fix * issue message fix * swift-navigation 2.0.5
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# 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
|
|
|
|
- <doc:WhatIsNavigation>
|
|
|
|
### Tree-based navigation
|
|
|
|
- <doc:TreeBasedNavigation>
|
|
- ``Presents()``
|
|
- ``PresentationAction``
|
|
- ``Reducer/ifLet(_:action:destination:fileID:filePath:line:column:)-4ub6q``
|
|
|
|
### Stack-based navigation
|
|
|
|
- <doc:StackBasedNavigation>
|
|
- ``StackState``
|
|
- ``StackAction``
|
|
- ``StackActionOf``
|
|
- ``StackElementID``
|
|
- ``Reducer/forEach(_:action:destination:fileID:filePath:line:column:)-9svqb``
|
|
|
|
### Dismissal
|
|
|
|
- ``DismissEffect``
|
|
- ``Dependencies/DependencyValues/dismiss``
|
|
- ``Dependencies/DependencyValues/isPresented``
|