Navigation 3 library for Compose Multiplatform has reached stable 1.0.0, making it production-ready as the intended replacement for the original Compose Navigation library. A walkthrough of a Compose Multiplatform project demonstrates the new API including NavDisplay (replacing NavHost), explicit backstack management, and a new Koin 4.2.0 alpha integration via a dedicated koin-navigation3 artifact. The Koin DSL enables declaring navigation destinations as singletons in a Koin module, passing typed arguments directly to ViewModels without SavedStateHandle, and using entry decorators to properly clear ViewModels when screens are popped from the backstack.

•7m watch time

Sort: