StackState

A list of data representing the content of a navigation stack.

StackReducer.swift:16
struct StackState<Element>

Use this type for modeling a feature’s domain that needs to present child features using Reducer/forEach(_:action:destination:fileID:filePath:line:column:)-9svqb.

See the dedicated article on Navigation for more information on the library’s navigation tools, and in particular see Stack-based navigation for information on modeling navigation using StackState for navigation stacks. Also see StackState vs NavigationPath to understand how StackState compares to SwiftUI’s NavigationPath type.