reagent 2023-10-04

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.

πŸ‘ 2

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?

This is very interesting. I have only know the official form-2 for enabling local states.