JSFiddle - React, Tailwind, and code Playground HTML <a>testing</a> JavaScript $(document).ready(function() { $('a').data('mykey', 'myval'); });