luminus

Piotr 2020-09-02T22:25:57.005500Z

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.