)
And then use it like this:
(om/build (get-entry-view (om/value person)) person)
On Monday, July 21, 2014 12:33:42 AM UTC-7, feng zhou wrote:
On Friday, July 18, 2014 2:02:54 AM UTC+10, Jarppe Länsiö wrote:
I have this same problem. I thought multimethods would be great way
On Friday, July 18, 2014 2:02:54 AM UTC+10, Jarppe Länsiö wrote:
I have this same problem. I thought multimethods would be great way to render
different views in simple page app, so I wrote something like this:
(def app-state {:view :login})
(defmulti render-view (fn [app owner]