-
Notifications
You must be signed in to change notification settings - Fork 359
'Maximum update depth exceeded' issue #1792
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Current behavior
component crashes with error
Expected behavior
the component does not crash
To Reproduce
pass the function key 'keyExtractor' ->
hook.js:608 The above error occurred in the <ForwardRef(FlashList)> component: at RecyclerViewComponent
Uncaught 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.
Most often occurs after a list has been opened on a page and then moved to another route and returned back (i.e. during the second rendering of the component)
Platform:
- Web
- iOS
- Android
Environment
2.0.0-rc.11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.