Has anyone made a library that does the same thing...
# compose-desktop
s
Has anyone made a library that does the same thing as androidx navigation, but can be used with compose multiplatform?
👍 2
b
There's also Decompose
s
Yup, Decompose 👍
c
I've personally found Decompose to be less-than-ideal on Desktop applications, as I'm trying to use it for switching tabbed "components" rather than full-screen routing, and it's just a bit too overpowered for that. I recently found this little library which is a better choice for me https://github.com/rjrjr/compose-backstack. It is out of date and doesn't natively support Desktop, but is only a few files that I was able to copy to my project easily (with the hope of it being updated so I can remove them later)
e
If you're looking for something a little simpler (still in active development, so kind of like an alpha) check out Portal https://github.com/eygraber/portal
1
s
I have used decompose a great deal. I’m building a sample app, following a similar method of
molecule
for presentation logic. What I lack now though is navigation.