Gerardo Fernández
1 min readMay 24, 2019

--

I think you will get and infinite loop if you try to use makeRequest inside useEffect, because the returning function from your custom change will trigger another render and so on…

--

--

Gerardo Fernández
Gerardo Fernández

Written by Gerardo Fernández

Entre paseo y paseo con Simba desarrollo en Symfony y React

Responses (2)