🐞 Bug Report: Large Component Handling / Performance Issue
Hello Lunacy Team,
I encountered a performance issue when working with a large number of components in a project.
Steps to Reproduce:
1. Create or open a project containing thousands of components (e.g., several thousand icons).
2. Try to search for a component or replace a component via the component search dropdown.
3. Click on the search box or attempt to select a component.
4. The application becomes unresponsive for several seconds as it tries to load all components at once.
Expected Behavior:
- The component search and replacement should remain responsive, even with thousands of components.
- Components can be loaded progressively or lazily to avoid freezing the application.
Actual Behavior:
- The application hangs or is not responsive for several seconds.
- Workflow is interrupted, making large files difficult to manage.
- Other design tools handle this smoothly by progressively loading components without freezing.
Impact:
- Major disruption in large projects or design systems.
- Slowdowns reduce productivity and may force users to split files unnecessarily.
- Critical for users managing icon libraries, UI kits, or design systems with many components.
Additional notes:
- Issue occurs consistently with large component sets.
Thank you for investigating this performance problem.
Comments
In version 12.0, some performance issues with components were fixed. Does your issue reproduce in the 12.0 beta?