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

Performance for large numbers of files #245

Open
ghost opened this issue Feb 25, 2020 · 0 comments
Open

Performance for large numbers of files #245

ghost opened this issue Feb 25, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 25, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

0 participants