Skip to content

Instantly share code, notes, and snippets.

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
(: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