Reactjs convert to html

I'm having trouble dealing with facebook's ReactJS. Whenever I do ajax and want to display an html data, ReactJS displays it as text. (See figure below)

ReactJS render string

The data is displayed through the success callback function of the jquery Ajax.

   url: url here,
   dataType: "json",
   success: function(data) {
           action: data.action

enter image description here

Is there any easy way to convert this into html? How should I do it using ReactJS?



Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.