how can i refer to rum components from a cljc file?
in clojure i can do :refer :all but in cljs i must refer by name, how can i refer to rum/defc component if it lives in a .cljc? o.o
I usually use namespaces for clarity, so I'll do something like (:require [project.ui :as ui])
and refer to a component with ui/component-name
.
But you can do (:require [project.ui :refer (component-name)])
if you prefer.
nice thank you