(deep-merge & maps)
Recursively merges maps.
Recursively merges maps.
(flatten-component context root-component)
Flattens nested components by creating one root component using signal mappings from context (if any)
Flattens nested components by creating one root component using signal mappings from context (if any)
(namespace-symbol sym)
Returns symbol unchanged if it has a namespace, or with clojure.core as it's namespace otherwise.
Returns symbol unchanged if it has a namespace, or with clojure.core as it's namespace otherwise.
(postwalk-evaluate props form initial-form)
A postwalk runtime signal processor evaluator, works most of the time. Doesn't support special symbols and macros, basically just function application. For cljs, consider compiled components or sci-evaluator, would require allowing for swappable evaluation stategies. Point to docs, to inform how to swap evaluator, or alternative ways to specify functions (that get compiled) that can be used.
A postwalk runtime signal processor evaluator, works most of the time. Doesn't support special symbols and macros, basically just function application. For cljs, consider compiled components or sci-evaluator, would require allowing for swappable evaluation stategies. Point to docs, to inform how to swap evaluator, or alternative ways to specify functions (that get compiled) that can be used.
(push-down-props {{:keys [props-signals]} :normalize}
{:gx/keys [props] :as node-def})
(resolve-component context component)
Resolve component by it's symbol and validate against malli schema
Resolve component by it's symbol and validate against malli schema
(sccs g)
(sccs g sccs-init)
Returns a topologically sorted list of strongly connected components. Tarjan's algorithm.
Returns a topologically sorted list of strongly connected components. Tarjan's algorithm.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close