NavigationStack<T> replaceAllWith(List<AppPageNode<T>> pages) { return NavigationStack([...pages]); }