Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Performance for large numbers of files #245

@ghost

Description

I have a component that has a property of the currently selected file.
When the selected file changes it currently rebuilds the background data for Treebeard (held in a state) so that the component renders again (this is done to set the 'active' value on the correct node).
When we have large numbers of files in the tree (often we have ~=1000) there is a very noticeable delay (2-3 seconds) for the newly selected file to be shown
Is there a pattern for large datasets to set (for example) 'active' on a node without rebuilding all of the data?

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