infinite loop in useeffect
By Beatrice Thompson at Jul 21 2021
changing state in useeffect...avoid rerender because of useeffect....call useeffect only once....infinite loop useeffect
By Eric Maggio at Jun 20 2021