DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
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.
{<td><span onClick={this.toggle()}>Details</span></td>}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Maximum
#update
#depth
#This
#happen
#component
#repeatedly
#calls
#setState
#componentWillUpdate
#React
#limits
#number
#nested
#updates
#prevent
#infinite
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit