Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
;;; view.clj
(ns clients.common.view)
(defn defview*
([name forms] (defview* name forms nil)
[name forms env])))
(defmacro defview
[name & forms]
(defview* name forms &env))
;;;; view.cljs
(ns clients.common.view)
;;;; app.cljs
(ns clients.web.views.app
(:require [clients.common.view :refer-macros [defview]]))
(defview App
[])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.