JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <ul id="comment-list">danh sách comment
        <li class="comment">comment 1</li></ul>
</body>

JavaScript

$("#comment-list").on("click",".comment", function( e ){
    $(this).append("<li class='comment'>comment</li>");
    e.stopPropagation();
});