Reactjs – Why is the last element of the array skipped by the useEffect
I'm just studying React and in particular I'm studying the useEffect. What I'm failing to figure out is why the useEffect is skipping me the last element of the array. Can someone kindly explain to me why and how to…