What do you think about updating $ macro to support declaring the react-key attribute on a component?
(defnc habit-item
[{::habit.model/keys [id name]}]
{:helix/wrap [h/memo]
:helix/key ::habit.model/id}
(d/tr (d/th (pr-str id)) (d/th name)))
;; later in another component's render
(d/tbody
(for [habit habit-list]
($ habit-item {:& habit})))
instead of having to pass the key:
(d/tbody
(for [habit habit-list]
($ habit-item {:& habit :key (::habit.model/id habit)})))