DEV Community

Discussion on: Setting state for parent from within useEffect hook in child component causes an infinite loop

Collapse
 
opshack profile image
Pooria A

It would be much better to put the sample codes rather than explaining codes.

Collapse
 
roggc profile image
roggc

Ok, give me five-ten minutes to do that. Thank you.