Repository navigation
Replies: 4 comments
|
Alternatives (not necessarily better than what's already mentioned):
(defmacro f [& args] `[~@args])
(r/f component 1 2 3)This solution doesn't need any changes to other code in Reagent, but allows static analysis to detect reagent calls accurately.
|
0 replies
|
Form-2 components are marked by clj-kondo as unused binding |
0 replies
|
@Kaspazza The way to solve this is to write: |
0 replies
|
@borkdude Hmmm, I was in a mindset it is used so there should be no warning... But it makes sense... Thanks! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
clj-kondo/clj-kondo#25
:n>:$. Would work the same way as[comp], but the keyword would make it possible to find the calls.All reactions