Handle the case where an ornament component is used as the tagname of another
component, in ClojureScript. We need to find the parent component in our
registry, for which we need to expand the symbol to be fully qualified. In
Clojure we can do this via inspection of namespaces and vars, in ClojureScript
we get (:ns &env) and can work with that.
(o/defstyle foo x/bar ,,,)
Also adds some more docs and examples of how to set things up in a shadow-cljs project.
Handle the case where an ornament component is used as the tagname of another component, in ClojureScript. We need to find the parent component in our registry, for which we need to expand the symbol to be fully qualified. In Clojure we can do this via inspection of namespaces and vars, in ClojureScript we get
(:ns &env)
and can work with that.(o/defstyle foo x/bar ,,,)
Also adds some more docs and examples of how to set things up in a shadow-cljs project.