Skip to content

MediumConceptReact in depth

Why does an effect that sets state on every render cause an infinite loop?

This answer is part of Pro

58 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

More on React in depth

Flashcards for this topic