News for hackers. Stuff that matters.
Re:React Color – Color Pickers from Sketch, Photoshop, Chrom... by TeeWEE on Monday August 17, 2015 @03:48PM (#10075615)
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.
Re:React Color – Color Pickers from Sketch, Photoshop, Chrom... by TeeWEE on Monday August 17, 2015 @04:12PM (#10075789)