Skip to content

Instantly share code, notes, and snippets.

@YacheLee
Created October 19, 2016 09:50
Show Gist options
  • Save YacheLee/378712506ad14a9389b57b1f50fb849a to your computer and use it in GitHub Desktop.
Save YacheLee/378712506ad14a9389b57b1f50fb849a to your computer and use it in GitHub Desktop.
React htmlString rendering
<div dangerouslySetInnerHTML={{ __html: htmlString}}></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment