I would never use a different tag other then button for clickEvents.
When using button there is no need to use the data attribute, there you can use the value attribute
My suggestion would be use button and value attribute
Or create for button a separate component
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would never use a different tag other then button for clickEvents.
When using button there is no need to use the data attribute, there you can use the value attribute
My suggestion would be use button and value attribute
Or create for button a separate component