This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-07
Channels
- # announcements (32)
- # asami (1)
- # babashka (127)
- # beginners (135)
- # bristol-clojurians (1)
- # calva (21)
- # chlorine-clover (5)
- # cider (2)
- # clara (9)
- # clj-kondo (24)
- # cljsrn (2)
- # clojure (25)
- # clojure-australia (4)
- # clojure-europe (135)
- # clojure-nl (8)
- # clojure-russia (3)
- # clojure-spec (4)
- # clojure-uk (9)
- # clojurescript (55)
- # cursive (6)
- # datomic (62)
- # events (1)
- # fulcro (1)
- # helix (19)
- # jobs (3)
- # jobs-rus (1)
- # kaocha (8)
- # malli (6)
- # meander (3)
- # off-topic (2)
- # pathom (3)
- # podcasts-discuss (1)
- # polylith (3)
- # practicalli (3)
- # re-frame (4)
- # reitit (5)
- # remote-jobs (1)
- # reveal (1)
- # rewrite-clj (9)
- # ring-swagger (1)
- # shadow-cljs (59)
- # xtdb (4)
Ya @mauricio.szabo, I can probably do something about this. It is related to how I export fns to the public API.
I personally find clj-kondo’s deprecation warnings more fine grained and useful than the cljs compiler’s and have been turning them off for the cljs compiler via :fn-deprecated false
under :compiler-options
.
But not everyone uses clj-kondo, I’ll raise an issue to change the way I export deprecated fns to the public API.
In the meantime, if it works for you, you can disable deprecations warnings from the cljs compiler. https://github.com/clj-commons/rewrite-clj/blob/886716ec4208958667b78fda74012d25e055bca4/script/test_shadow_cljs.clj#L15-L17.
And @mauricio.szabo? Thanks for bringing this up! Much appreciated.
No problem! I was already disabling the warnings on the compiler, too :)
Also, rewrite-clj is working beautifully on replacing the CLJS version I was using too!
Even things that I was fearing it would work differently, like zipper with line+col elements are working :)
Awesome to hear @mauricio.szabo, thanks for sharing the good news!