This is a very very welcome feature, thanks!
Namings
- NavigationStack-> NavigationView
- NavigationPath -> NavigationStack
- path (parameter) -> stack
”NavigationView” name is more consistently with TabView, NavigationSplitView but I understand for compatibility.
Also “stack” is most correct name than “path”.
EnvironmentValue
Include a NavigationPath to the EnvironmentValues, uses when we don’t set NavigationStack(binding parameter).
This works for 98% of use cases, we don’t want to binding the path to every children (and deep children, …). If someone want custom case they will use the specific parameter.
NavigationPath Common Operators
Like pop to root and replace last.