rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
sova-soars-the-sora 2020-07-27T22:16:34.202700Z

how can i refer to rum components from a cljc file?

sova-soars-the-sora 2020-07-27T22:17:39.203200Z

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

1🆘
john-shaffer 2020-07-28T18:10:14.203500Z

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.

sova-soars-the-sora 2020-07-29T14:10:41.203700Z

nice thank you