# compose

Paul Weber

01/05/2022, 10:24 AM
Are there declarative navigation libraries floating around? I’m building a KMM app where the navigation state is a flow owned by the viewmodels (all inside the shared code module). With SwiftUI, since its navigation is declarative, I can just observe that flow and my navigation views, alerts, bottom sheets, etc. show up or disappear when certain navigation state is set. In Android / Compose, it seems navigation is still imperative via the navigation controller. Are there declarative solutions out there? If not libraries, maybe some research / blog posts that examine this topic?