Javascript – How do I access content ( DOM node ) of mapped div in react in Functional component
My Code : https://codesandbox.io/s/quirky-wescoff-44n2by?file=/src/App.js When I hover over any element, always the last element of array is printed in console. I tried using ref, not sure if I am doing it right. I expected on hover over any element that…