This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-29
Channels
- # announcements (4)
- # babashka (66)
- # beginners (7)
- # cljs-dev (6)
- # clojure (12)
- # clojure-europe (28)
- # clojure-nl (1)
- # clojure-norway (75)
- # clojure-uk (16)
- # clojuredesign-podcast (1)
- # clojurescript (16)
- # datascript (6)
- # deps-new (2)
- # dev-tooling (40)
- # exercism (1)
- # fulcro (92)
- # hyperfiddle (25)
- # lsp (19)
- # malli (1)
- # meander (2)
- # nrepl (9)
- # off-topic (5)
- # pathom (1)
- # practicalli (1)
- # re-frame (20)
- # reitit (14)
- # releases (1)
- # sci (86)
- # shadow-cljs (216)
- # sql (13)
- # testing (4)
- # tools-deps (4)
- # vscode (3)
Should I think of shadow-cljs as a one-stop shop tool for building CLJS-based web apps? Is shadow-cljs symbiotic with npm so as to make it easy to both use packages released there, but also publish packages to there (the JS bundle that is)?
it doesn't handle publishing at all, you use npm for that. but yes, the compiled output can be published to npm. the JS code that is, CLJS libs are published to clojars usually
@U05224H0W You're wicked fast 🙂 I loved that
(or are we just looking at JAR as a file format here, i.e. as a compressed file formart e.g. zip)
So is it the case that currently the CLJS is just mixed together with CLJ packages with no metadata to distinguish between them?
If I were using CLJ on the JVM and I found a package on clojars that seemed to do what I liked, but it had no mention of CLJS that would be inconvenient (and vice versa if I were using CLJS in JS environments)
While a filter in Clojars would be nice, as a practical matter it's pretty easy to tell whether an attempt was made at clj/cljs interoperability in a particular candidate library: follow Clojars' link to Github and take a quick look in the code repository for ".cljs" or, especially, ".cljc" files among the source files.