How to show html entity using React?

Posted by Jessica Taylor | Updated on

Want to show html entity using React? You can get that using dangerouslySetInnerHTML feature of jsx. Another way would be use correspond unicode character of html entity and just use as normal string.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers