I want to identify which row was clicked using React JS map function? I have a list where data coming from API. Now I have a delete and edit button with each row. but unable to find on which row I was clicked? How to do this?
I want to identify which row was clicked using React JS map function? I have a list where data coming from API. Now I have a delete and edit button with each row. but unable to find on which row I was clicked? How to do this?