JSFiddle - React, Tailwind, and code Playground
JavaScript
const $test = $('.hoge').find('.piyo');
console.info(JSON.stringify($test));
$test.remove();
const $test = $('.hoge').find('.piyo');
console.info(JSON.stringify($test));
$test.remove();