2 ms·
Try dragging within the colorpicker rainbow sections... Its super slow, for every drag event React-engine will perform a diff on the domtree.... This is not the
by TeeWEE 11y ago
Try dragging within the colorpicker rainbow sections... Its super slow, for every drag event React-engine will perform a diff on the domtree.... This is not the way to implement such components. React is nice for non-continuous dom updates. But it will be never quicker than drawing to the screen yourselve, or updating the components yourselve... Its a lot faster than diffing a tree every few milliseconds.
- TeeWEE 11y agohttps://github.com/casesandberg/react-color/issues/13 https://github.com/casesandberg/react-color/issues/13