JSFiddle - React, Tailwind, and code Playground

JavaScript

jQuery.ajax({
    data: {
        html: "<p>some html to echo</p>\n<p>some more html</p>",
    },
    url: "/echo/html/",
    type: "POST",
    success: function(data) {
      result = jQuery(data);
      jQuery('body').append( result );
      result.hide().slideDown();      
    }
});