reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
az 2021-06-02T21:22:11.075Z

Hi all, question on the frontend. I’m wondering if anyone has any tips for getting hot reloading working when using reitit routes to indicate which view to use on a route. I see this pattern in several repos. (This stashes in re-frame db on nav change)

(def routes
  ["/"
   [""
    {:name      ::home
     :view      home/view
     :link-text "Home"}]])
I’m having an issue though when I update the view markup, it doesn’t reload unless I hard refresh. I’m assuming because the object is stashed in the state atom. I’ve tried using a backtick instead, but not sure how to get that to render in hiccup. I know this isn’t a reitit issue directly, but thought I would ask here. Thanks

az 2021-06-02T21:25:50.075100Z

Think I found it, just needed #'home/page