Hi, I need a pointer on how to use reitit and helix. What is the equivalent of this https://github.com/metosin/reitit/blob/master/examples/frontend/src/frontend/core.cljs example with helix?
you can store the match state either in a local component state at the top of your app and pass it down, or in an atom and use a hook to reference it's state with useSyncExternalStore
there's not a super easy way to access global state like this with helix out of the box
I would highly encourage you to use something like react-router anyways, since it's going to give a much better developer and user experience
@soelaces did you end up getting react router integration working? I was trying to use react router v6 and it's quite annoying. I am moving to the approach in this example: https://github.com/rafaeldelboni/helix-refx-reitit-example
Thank you, I think I will follow your recommendation and just learn to use react-router.