Hello. Are there any functions for page transition...
# compose-web
s
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
https://voyager.adriel.cafe/ supports web target
d
when(destination) { ... }
Fill the when with your destination
@Composable
cases. That's the most basic function for navigation.
h
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