You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a list of about 600 objects that I'm displaying with TreeViews, and things are really slow when I collapse/uncollapse a single item. My code is basically the same as the controlled example, so I think the problem is that the re-render call after I toggle the collapsed state for one of the objects results in a re-render of EVERYTHING in the list of objects.
I've taken care to ensure that the has a unique key and that the child
also has a unique key, but that doesn't seem to help React optimize the render.
Any thoughts, folks?
The text was updated successfully, but these errors were encountered:
I have a list of about 600 objects that I'm displaying with TreeViews, and things are really slow when I collapse/uncollapse a single item. My code is basically the same as the controlled example, so I think the problem is that the re-render call after I toggle the collapsed state for one of the objects results in a re-render of EVERYTHING in the list of objects.
I've taken care to ensure that the has a unique key and that the child
Any thoughts, folks?
The text was updated successfully, but these errors were encountered: