get data attribute from event target code example
Example 1: event target data atributes
event.target.getAttribute("data-sortorder");
Example 2: react data attributes event
const removeId = e.target.getAttribute("data-remove");
event.target.getAttribute("data-sortorder");
const removeId = e.target.getAttribute("data-remove");