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)