Skip to content

'Maximum update depth exceeded' issue #1792

@themafia98

Description

@themafia98

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions