Yo, how do I make this not disgusting?
(defn link [{:keys [route params]} & children]
(-> [:a {:on-click #(navigate! route params) :style {:cursor "pointer"}}]
(concat children)
(#(into [] %))))
If I just pass children inside I get "missing key prop" errors for any children I pass.
Remove -> and concat and use only into.
(into [:a ...] children).