measuredco / puck

The visual editor for React
https://puckeditor.com
MIT License
5.04k stars 279 forks source link

Stress testing #549

Open Sarfraz-droid opened 1 month ago

Sarfraz-droid commented 1 month ago

Puck seems to lag on stress test. Are there any solutions to resolve such issue??

Example - On adding multiple lists. dnd starts lagging.

https://github.com/user-attachments/assets/be3b5a57-ee2e-4ae0-8cb9-5ad5042e5c7d

Sarfraz-droid commented 1 month ago

@chrisvxd Tried fixing this. here's a workaround I implemented. Used react-virtualized-auto-sizer and conditional rendering to optimize the component renders.

https://github.com/user-attachments/assets/9f64c93e-4594-42cf-8917-143f276920ea