Last active
July 13, 2016 16:03
-
-
Save colinf/5fe538bc758813d63f7c to your computer and use it in GitHub Desktop.
The query statements from message_item.clj ( see http://bit.ly/29ywoTL )
This file contains 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
(defui MessageItem | |
static om/Ident | |
(ident [this {:keys [message/id]}] | |
[:messages/by-id id]) | |
static om/IQuery | |
(query [this] | |
[:message/id :message/author-name :message/date :message/text]) | |
Object | |
(render [this] | |
(div nil "Example Text"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment