rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
huygn 2018-09-22T11:27:19.000100Z

hi, how would I achieve this piece of router (@reach/router) in rum?:

<Router>
    <Home path="/" />
    <Dash path="dashboard" />
  </Router>
I tried and this doesn't work, Children of <Router> must have a path or default prop. It couldnt find the path props on todo-component
(def reach-router (core/adapt-class Router))

(rum/defc app []
  [:main
   (reach-router
    [(app/todo-component {:path "/"})])])
(adapt-class is taken from here https://github.com/tonsky/rum/issues/20#issuecomment-282471141)