an Android-only component or does it also work on Web and Desktop?
https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/SaveableStateHolder
It seems like it could be a good base to build a multiplatform Compose Navigation component.
The current Android's Compose Navigation isn't compatible with the other Compose platforms, as it's a wrapper to the old Java-written Android Navigation.