Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App lags when too many items are added #6

Open
Amresh-Kumar1 opened this issue Jul 24, 2023 · 0 comments
Open

App lags when too many items are added #6

Amresh-Kumar1 opened this issue Jul 24, 2023 · 0 comments

Comments

@Amresh-Kumar1
Copy link

App lags when too many items are added, following optimizations can be done :-

  • use event delegation for handling events, no need to add listeners on each element
  • use Virtualization, don't render items which are offscreen
  • dispatch redux action only when u complete action like dragging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant