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:
Environment
2.0.0-rc.11
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:
Environment
2.0.0-rc.11