JSFiddle - React, Tailwind, and code Playground

by devgru

JavaScript

var reattach = function() {
    var parent = this.parentNode
    parent.removeChild(this)
    parent.appendChild(this)
};
// element.each(reattach)