DEV Community

Tanjona Randrianasolo
Tanjona Randrianasolo

Posted on

Why use useEffect when logging?

Hi guys,

Why should I use useEffect when console.log even it works well without, after rendering?

And also, is post methode on fetch cosidered as side effect?

Top comments (0)