Skip to content

Loading a lot of list items in the initial value when you have any node transform registered causes UI to freeze #5589

Closed

Description

@amanharwara

Not sure if this can necessarily be considered a bug, but I think this does need to be looked into.

If you have a lot of list items in your initial value and have any node transform registered, even the ones not registered for ListItemNode, it will block for a long time. The more transforms you have, the worse it is.

Here is a profile of the playground running locally with a large number of list items in the initial value:

image

Removing most of the transforms brings the time taken much lower:

image

From what I can tell, it has something to do with the transform() method on ListItemNode (initially added here #4030)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions