daybrush / selecto

Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.

Home Page:https://daybrush.com/selecto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

performance issue

enk0de opened this issue · comments

commented

Environments

  • Framework name: react
  • Framework version: ^18
  • Component name: react-selecto
  • Component version: latest
  • Testable Address(optional):

Description

if there are many elements that is selectable, selecto/moveable performance goes slow down.

(we could know some insights that flushSync makes performance slow down in below screenshot)

스크린샷 2023-06-26 오후 11 50 38

@hoondeveloper

Since selecto and Moveable are both DOM, we know that if there is a lot of DOM around it, it will be slow.

Are there any examples I can test on?

commented

I investigated this issue further, and it turns out to be a performance issue with my app, which I apologize for.