JSFiddle - React, Tailwind, and code Playground

JavaScript

$("<div>").data(this, 'test','test').append('test').appendTo('body');