Join Slack
Communities
Powered by
Is there anyway to implement routing with compose ...
# compose-web
h
Hugo Miguel Coutinho Dias
06/17/2021, 5:45 PM
Is there anyway to implement routing with compose web in a similiar way to react router?
b
Big Chungus
06/17/2021, 5:53 PM
Don't think there's any "Context API" to drive this in compose. You could always route via redux, though.
s
shikasd
06/17/2021, 6:31 PM
Context API and CompositionLocals are very similar in their use, so probably it is possible
👍 2
r
Ryan Brooks
06/17/2021, 8:42 PM
Here’s an experimental library by
@hfhbd
for routing with compose:
https://github.com/hfhbd/routing-compose
h
Hugo Miguel Coutinho Dias
06/17/2021, 8:43 PM
I'll look into it, thanks
4
Views
Open in Slack
Previous
Next