Fork me on GitHub
#shadow-cljs
<
2023-05-23
>
pez08:05:17

Anyone knows of a way to silence Reagent warnings about a deprecated function in a library? re-com in my case:

Warnings in Library Code:
 reagent.dom/dom-node is deprecated
I don’t think the issue will be resolved in re-com anytime soon: https://github.com/day8/re-com/issues/329

hifumi12308:05:46

I quickly skimmed the CLJS compiler options, and I’m guessing :warnings {:fn-deprecated false} may do the trick?

🙏 2
pez12:05:46

Trying that now, but I would like to avoid suppressing these warnings generally. They helped me find things I should fix in my own code…

pez12:05:28

Oh, and thanks! Totally appreciate the help! 🙏

Jakub Holý (HolyJak)19:05:08

Hi! How do I know which version of clojurescript to use with the latest version of shadow-cljs? I do not see it either in the book or GH Readme 🙏 And, even more importantly, closure-compiler-unshaded version? Found it, the right column at https://clojars.org/thheller/shadow-cljs