JSFiddle - React, Tailwind, and code Playground
HTML
<body x-abc="def" data-ab="c" onload="function(){}" onpageshow='console.log("page show event fired");'>
<p>Click the button to log <code>$("body").data()</code> which will throw an exception in IE11.</p>
<button onclick='console.log($("body").data());'>Log <code>$("body").data()</code></button>
</body>