Fork me on GitHub
#reagent
<
2019-04-03
>
Whiskas18:04:30

is it possible to pass hiccup inside a prop?

Whiskas18:04:44

and render it

jimberlage18:04:20

For sure. (let [my-prop [:p "hi"]] [:div my-prop])

lilactown20:04:15

You just have to ensure that you return the hiccup in the child’s children in order for reagent to render it