https://kotlinlang.org logo
Title
s

sanao

05/12/2023, 6:48 AM
Hello. Are there any functions for page transitions like Navigation in Jetpack Compose or React Router in React? Could someone please let me know?
k

Konstantin Tskhovrebov

05/12/2023, 8:18 AM
https://voyager.adriel.cafe/ supports web target
d

darkmoon_uk

05/12/2023, 9:27 AM
when(destination) { ... }
Fill the when with your destination
@Composable
cases. That's the most basic function for navigation.
h

hfhbd

05/12/2023, 2:24 PM
There is also a new experimental web api, currently supporting chrome only, to have spa animations. I will try to implement it the next days. https://github.com/hfhbd/routing-compose/issues/185