here is my demo DEMO
in component Comp, I do the same thing, log the props.id
when I click comp, the id is correct
but when i hover and paste the id always the same until i move mouse out for a while
I want know why and how to get the correct id when I do the paste
New contributor
jimmy leon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.