Skip to content

DataToolbarFilter: Maximum update depth exceeded #3770

@dlabrecq

Description

@dlabrecq

In Cost Management, we discovered a "Maximum update depth exceeded" issue with the data toolbar.

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

Screen Shot 2020-02-18 at 11 17 17 AM

This appears to be a problem with how the PatternFly requires a unique DataToolbarFilter component to represent the chip values for each tag below. If there are 100 tags, we end up with 100 DataToolbarFilter components.

Screen Shot 2020-02-18 at 10 25 02 AM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions