DEV Community

Vikas Bose
Vikas Bose

Posted on

Related to React Error [for functional component]

Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops. Any solution for it?

Image description

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.