In my application, I need to get an HTML string.
(From the server or from the user input, maybe something processed from markdown, in any case, it seems I really need to use setDangerousHtml.)
But I also need some react components inside that part.
For example, I would transform some links to Link from react-router; or I have something inside the HTML like <myWidget:12345> to a react component <MyWidget id="12345" text=this.props.text >.
What is the react-way for doing this?