Fix the Infinite Loop Inside “useEffect”
Closed this issue · 1 comments
blade-sensei commented
Fix the Infinite Loop Inside “useEffect”
blade-sensei commented
We need to set a check variable change
We only run useEffect is this variable has changed
explain link
https://medium.com/@andrewmyint/infinite-loop-inside-useeffect-react-hooks-6748de62871