-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
can I implement this framework by using a DOMElement rather than hiccup syntax for the view/ item view? This would be similar to template from markup syntax
e.g. ( sorry if clojure syntax is bad. I'm new to clojure)
(defn view []
(.-getElementById js/document :#view)
// ..... append stuff/ add classes yada yada
)
(defonce root (dom/append-child! (.-body js/document) [:div#root]))
(dom/mount! root (view))
Metadata
Metadata
Assignees
Labels
No labels