1//https://flaviocopes.com/react-fix-dangerouslysetinnerhtml-did-not-match/
2
3<div
4 dangerouslySetInnerHTML={{
5 __html: '<p>test</p>'
6 }}></div>
1function createMarkup() {
2 return {
3 __html: 'First · Second' };
4 };
5
6<div dangerouslySetInnerHTML={createMarkup()} />