Fork me on GitHub
#reagent
<
2018-12-03
>
orestis14:12:14

Is there an idiomatic way to add a prop to a child component? There’s merge-props but that expects a reagent component, and I only have a vector at this stage.

orestis15:12:00

I could do a dance and check the second element of the vector, is it a map, etc etc, but I thought perhaps this is a common thing people do?

orestis16:12:17

I think I’m hitting an X/Y problem, so I posted my actual problem over at ClojureVerse: https://clojureverse.org/t/threading-callbacks-and-atoms-around-in-reagent/3299