(def routes
[["/" {:crumbs [{:text "Home"
:href "/"
:onClick (fn [e]
(.preventDefault e)
(js/console.log "clicked home"))}]}
["" {:name :home
:view #'home/render}]
["billing" {:name :billing
:view #'billing/render
:crumbs [{:text "Billing"
:href "/billing"
:onClick (fn [e]
(.preventDefault e)
(js/console.log "clicked billing"))}]}]]])
Trying to figure out what piece of the incantation I’m missing that makes the home route match…
(rff/match-by-path router "/") => nil
(rff/match-by-path router "") => nil`Can anyone help with some spare 👀
/billing
matches correctly
uhh, maybe it does work, gas-lit by build cache…