What problem does it solve?
This Skill solves the challenge of managing navigation within Reactor applications, offering a robust framework for creating type-safe, stack-based navigation and handling page lifecycle and transitions.
Core Features & Use Cases
- Stack-based Navigation: Utilizes a stack-based model with enums for defining routes and a navigation handle for managing navigation actions.
- Route Management: Defines routes as enums with the option to include data through discriminated-union patterns.
- NavigationHost & NavigationView: Renders pages and manages sidebar and tab navigation with clear, customizable rendering options.
- Lifecycle Callbacks: Offers callbacks for page appearance and disappearance to handle tasks like data loading and saving.
- Deep Linking & Transitions: Handles deep linking with custom back stack handling and supports various page transition effects.
Quick Start
Initialize navigation for the home page by running 'useNavigation(Route.Home)' and navigate to a specific route using 'nav.Navigate(Route.YourRoute)'.