Last active
August 29, 2015 14:01
-
-
Save loganlinn/edd1f79bd94e4c80d1e1 to your computer and use it in GitHub Desktop.
defcomponent ideas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmixin async-widget | |
(will-mount [] ...)) | |
(defcomponent widget [data owner] | |
(:mixins [async-widget]) | |
(render [_] ... )) | |
;; constructor calls om/build | |
(->widget widget-data) | |
(->widget widget-data widget-opts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment