Evento de atributos de dados reagir
const removeId = e.target.getAttribute("data-remove");
Victorious
const removeId = e.target.getAttribute("data-remove");
<div data-id={someId} >Test</div>
const id = e.target.getAttribute("data-id");
//alternate to getAttribute
const id = e.target.attributes.getNamedItem("data-id").value;