News for hackers. Stuff that matters.
Re:React Color – Color Pickers from Sketch, Photoshop, Chrom... by JDDunn9 on Monday August 17, 2015 @01:11PM (#10074492)
> once code touches the DOM it's poison for reusability

source? In reality, it's quite the opposite. You can't easily convert a React component to another framework. The key to writing reusable code is to remove dependencies.

Re:React Color – Color Pickers from Sketch, Photoshop, Chrom... by HeyImAlex on Monday August 17, 2015 @01:34PM (#10074693)
React is ultimately a framework for managing DOM mutations, so it would make sense that a pure logical model that doesn't touch the DOM also doesn't have a dependency on React.
Re:React Color – Color Pickers from Sketch, Photoshop, Chrom... by jhgg on Monday August 17, 2015 @04:10PM (#10075770)
Not true. React is a framework for managing state trees and mutations. As of 0.14, react has nothing to do with the dom at all. All that logic has been moved to react-dom.