Why useEffect is Not Updating When props Change
This is a short blog post explaining a revelation I had with useEffect in React, that has probably been causing me problems for a while, since I did not know why my component was not reading the updated props. Why won’t my component register the changed values of props??? The answer for me was that …