What problem does it solve?
Reactor navigation provides a robust, type-safe navigation system to manage multi-page WinUI applications without boilerplate. It defines routes as enums, creates a central navigation handle, and renders the active page with NavigationHost, while coordinating back/forward stacks, transitions, caching, and deep linking.
Core Features & Use Cases
- UseNavigation(Route.Home) to create a root handle and drive the navigation state.
- NavigationHost(nav, route => ...) renders the matched page and handles transitions.
- NavigationView and TabView enable sidebar and tab-based navigation patterns.
- UseNavigationLifecycle and UseSystemBackButton provide page lifecycle hooks and system back integration.
- DeepLinkMap enables deep linking and back-stack-aware routing across the app.
- Enum-based routes enforce compile-time safety; methods like Navigate, GoBack, Replace, Reset manage the navigation stack.
Quick Start
Create a root navigation handle with UseNavigation(Route.Home) and render the current page with NavigationHost(nav, route => ...).