Hi, is it smarter to put every component that has a serverside/clientside definition in a .cljc?
I have been keeping them separately, cljs and clj but that can become perniciously detail-oriented
Yes, I'd put them into cljc
and have one component definition with reader conditionals, if needed, in the body of a component
(rum/defc component []
#?(:clj (do-in-clj)
:cljs (do-in-cljs))
[:h1 "hello"])
this way you'll have a single unit in a form of a component where you can always find clj and cljs parts of it