Fork me on GitHub
#reagent
<
2019-04-25
>
ag18:04:53

are there any pros/cons of using form-2 type of component e.g.:

(defn comp []
  (let [counter (r/atom 0)]
      (fn [] ,,,)))
versus using (r/with-let)?

lilactown19:04:55

having to type the props again is a huge source of bugs