JSFiddle - React, Tailwind, and code Playground
HTML
<div class="records_content">Hello world</div>
JavaScript
alert('123');
$(".records_content").empty();
<div class="records_content">Hello world</div>
alert('123');
$(".records_content").empty();