ReactJS : eventListener tranistionend not getting cleaned up in useEffect
I have an image carousel component which has a smooth transition between images using the eventListener transtionend. This event listener even though I have a cleanup function in place it creates a …