Fork me on GitHub
#reagent
<
2022-07-31
>
Sturm12:07:43

I'm getting an "unused binding" warning from clj-kondo for the outer function of a form-2 component (argument repeated on outer and inner functions). That's to be expected right? I'm supposed to repeat the arguments in the inner and outer functions I believe?

borkdude12:07:10

yes, repeat

borkdude12:07:37

if you don't use the outer bindings, you can put an underscore before the name

Sturm12:07:41

thanks @borkdude! appreciate your help 🙂

👍 1
Sturm12:07:19

@borkdude there's nothing special about the leading underscore to clojure right? It's just special to clj-kondo?