Status: Placeholder. Don't bother reading yet.
Create using def-view:
(def-view
:something
;; indicate what subscriptions we wish to obtain
;; obtain a dispatch for use
;; get the context id if you want to
;;
(fn [_ id]
{:subs [[:item ]]
:context ["name1", "name2")})
;; the renderer
;; last argument `ins` is a map of:
;; - `:subs` - a vector of subscription values?
;; - :dispatch and :subscribe
;; - :context - a vector of context values
;;
(fn [a-str ins]
(let [XXXX]
)))
Use of :something:
[:something "Hello"]
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |