In a small app I\'m building that uses Reagent and Re-frame I\'m using multi-methods to dispatch which page should be shown based on a value in the app state:
(d
How about if you instead have a wrapper pages-component function which is a regular function that can be cached by reagent. It would look like this:
pages-component
(defn pages-component [state] (layout/pages @state))