Open zach-klippenstein opened 4 years ago
Very cool! Would love to have a runnable sample that shows this off. Would you be interesting in posting a PR?
What do you have in mind? An example app with a simple transition as example or something else?
That would be great to start, yes. We can iterate and build more complex samples if they seem useful.
In case someone arrives here looking for an example of the integration with
compose-router
, I got it working by:compose-router
working, doing as described in their readme.Router
, instantiatecompose-backstack
'sBackstack
Composable. To buildBackstack
pass thebackStack.elements
as argument to the constructor, wherebackStack
is what you receive in the callback passed aschildren
to theRouter
.Backstack
, have thewhen
block with all the routes.It looks like this: