react event target attributes code example Example: event target data atributes event.target.getAttribute("data-sortorder");