This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Not and load both
If you have both, the cljs one will be used
ClojureScript will use both the cljs and the clic one if they both exist for the same namespace, e.g. both source files in same directory, and both with same name except the suffix?
Not really. When loading a runtime namespace, according to the loading rules,
.cljs will be preferred over
.cljc . When loading a macros namespace
.clj will be preferred over
Most likely, it's just Reagent since it's built on top of React. And React is purely JS, so it wants JS objects.
If you don't need to access that CLJS map from some JS component, you can just wrap it into some object that is opaque for the
More details and some workarounds: https://github.com/reagent-project/reagent/issues/389