Helpers for Context library
Helpers for Context library
(build-state-map *ctx)
Returns map where key is a component id and a value is current component state.
Returns map where key is a component id and a value is current component state.
(config-value ctx id-kwd)
Get :config value from component using its id
Get :config value from component using its id
(state-value ctx id-kwd)
Get :state-obj value from component using its id. If returned value is clojure.lang.IDeref then deref it otherwise return as is.
Get :state-obj value from component using its id. If returned value is clojure.lang.IDeref then deref it otherwise return as is.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close