JSFiddle - React, Tailwind, and code Playground

HTML

<div id="a" class="a"></div>

CSS

#a {
  width: 100px;
  height: 100px;
  background-color: #eee;
}
#a.a {
  background-color: #0ee;
}

JavaScript

this._elt = $('#a');
this._elt.removeClass('a');
console.log(this._elt);