Open rwoodnz opened 5 years ago
Can't see a way to inject HTML
Expecting this to do it:
const htmlStuff = '<div>hi<div>' <div dangerouslySetInnerHTML={{ __html: htmlStuff }} />;
Looking for: <div>hi<div>
<div>hi<div>
Ends up with: <div dangerouslysetinnerhtml="[object Object]"></div>
<div dangerouslysetinnerhtml="[object Object]"></div>
Can't see a way to inject HTML
Expecting this to do it:
Looking for:
<div>hi<div>
Ends up with:
<div dangerouslysetinnerhtml="[object Object]"></div>