JSFiddle - React, Tailwind, and code Playground

by venkateshwar

HTML

<div>
  <x-tab>
    <div></div>
    <div>
      <x-map></x-map>
    </div>
  </x-tab>
</div>
<x-footer></x-footer>

JavaScript

$('body *').filter(function(){
        return /^x-/i.test(this.nodeName);
    }).each(function(){
        console.log(this.nodeName);
    });