Skip to content

Performance for dynamic and heavy modal content #335

Open
@murugaratham

Description

@murugaratham

Summary:

Steps to reproduce:

  1. Created an array of objects to be loaded after openModal is triggered
  2. I did a .Map and return ~100 items
  3. On desktop, the delay is 2-3s

Expected behavior:

Opening and closing modal should not rerender/update modal content

Additional notes:

Can add a prop to disable shouldComponentUpdate?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions