xxxxxxxxxx
const App = () => {
const data = 'lorem <b>ipsum</b>';
return (
<div
dangerouslySetInnerHTML={{__html: data}}
/>
);
}
export default App;
xxxxxxxxxx
<div
dangerouslySetInnerHTML={{
__html: props.house.description
}}></div>
xxxxxxxxxx
import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(<p>Hello</p>, document.getElementById('root'));