Hi everyone! I'm looking for advice on choosing a ...
# multiplatform
s
Hi everyone! I'm looking for advice on choosing a navigation library for my open source Compose Multiplatform project. The current target platforms are Android and iOS, with possible support for Desktop and Web in the future. I'm currently considering two options: - JetBrains Navigation Compose Pros: • Familiar for Android developers • Easier to implement • Feels well-suited for small apps with simple navigation Cons: • Still beta • I'm unsure how well it would scale if the app grows in complexity - Decompose Pros: • Flexible and scalable • Full-featured navigation: back stack, nested navigation, lifecycle, state management • Stable and production-ready My app currently has just 2–3 screens and a couple of modal dialogs, but I might expand it in the future. I have a few questions: • What is currently the most popular navigation library for Compose Multiplatform? • Which one would you recommend for the long term? • Are there any significant downsides to Jetbrains Navigation/Decompose? • Has anyone used JetBrains' navigation-compose in a real multiplatform setup (especially on iOS)? Thanks in advance for your help!
p
I've been using the JetBrains one for some months, my app has 10+ screens, running on Android + iOS, with thousands of users using it, no issues so far I have managed to do anything I want. The only real downside for me is that it doesn't allow to pass through screens custom data classes. It allows only primitive ones (e.g. strings, integers etc), so I have some boilerplate code there to bypass that. If you need, I'm happy to share my codebase with you so you can have a look at how I've structured it.
s
yes, please
p
Could you please send me your GitHub username in DM? I can send you an invitation there.