JSFiddle - React, Tailwind, and code Playground

JavaScript

$('<div>test</div><!-- comment -->').dialog();