Fork me on GitHub
#luminus
<
2020-09-02
>
Piotr22:09:57

Hi all! I am stuck a bit. I am using reitit with re-frame.

["/user" {:name :user
               :view #'user-page}]
How would I pass path variable to the reagent component? I would like to do something like
["/user/23" {:name :user
               :view #'user-page}]
so that my user-page receives the 23. While I don’t have a problem on CLJ routes, in CLJS I just cannot get it to work.