hi, when I write reagent form-2 function, it seems kondo complains about it for unused-binding-content. For example, the example from the official document looks like this on my emacs with kondo. Is there any way to solve this? Or am I writing form-2 function in a wrong way. https://github.com/reagent-project/reagent/blob/master/doc/CreatingReagentComponents.md#form-2--a-function-returning-a-function
Use underscore on the outer functions parameters.
thanks.
An aside comment: I went to go look for an example in the three projects I am currently working on, and realized that I donβt have very many (any?) form-2 components that serve as a good example. Iβve been using r/with-let a lot.
Interesting. So do you use with-let for (in the level of fn) local state?
https://cljdoc.org/d/reagent/reagent/1.2.0/api/reagent.core#with-let
This is very interesting. I have only know the official form-2 for enabling local states.