link data target attribute in jsx syntax code example Example: react data attributes event const removeId = e.target.getAttribute("data-remove");