Fork me on GitHub
#reagent
<
2016-08-05
>
pesterhazy09:08:09

If I create my component wrapper foo* for someone else's component, foo, and the wrapper just looks like this: (defn foo* [props] [foo (merge my-defaults props)]), will this create another level of indirection in the react tree?

pesterhazy09:08:50

If so, does it matter? If not, how does this work? 🙂

ska12:08:11

Hi. I am quite new to this whole rea* story. Could someone please give some some pointers to where I can find information on how to display pre-rendered HTML that I get from a server in a component, please. I feel rather stupid right now.

escherize13:08:03

hi ska, you can use dangerously set inner html

escherize13:08:04

[:div {:dangerouslySetInnerHTML {:__html "<b>I am bold</b>"}}]