← React Intermediate Questions - Set 3 Q30

What is the significance of `dangerouslySetInnerHTML` in React?

React Intermediate Questions - Set 3

Example

<div dangerouslySetInnerHTML={{ __html: sanitizedHtml }} />

What to notice

← Back to the question list