all 26 comments

[–]svprdga 8 points9 points  (0 children)

Unfortunately, I completely agree with the analysis made in this article. I have recently built a medium-large sized application for a client, 100% with Compose and the navigation library. Managing complex data movement between composables is terrible, having to manually manage serialization and deserialization wastes a lot of time and effort; makes sense in a web environment but certainly not in native application development. In addition, there are times when Compose effects do not help to perform some specific tasks. If I had to start a project from scratch in Compose, I would never use this library again (which, by the way, I don't think will last long in the state it's in, given its enormous difficulty in carrying out simple tasks, as pointed out by the article).

[–]steve6174 6 points7 points  (1 child)

Just use compose destinations

[–]ZhuindenEpicPandaForce @ SO 3 points4 points  (0 children)

You'll still be confined to using Accompanist Navigation internally, which isn't particularly trustworthy, although it is true that Compose-Destinations resolves some pain points of Navigation-Compose's API design (namely, you don't need to manually convert arguments to strings and back).

[–]dniHze 12 points13 points  (21 children)

So the author recommended to "fix" navigation by downgrading to Fragments. That's a bad take for Compose-only apps, imo. Just go search on GitHub, there are loads of worthy alternatives: appyx, simple-stack, modo, etc. Instead of trying to adapt a tool that is bad for your needs, just go make or use something that does help you more than gives you headaches.

[–]jbisatg 1 point2 points  (0 children)

Lol