I made a color picker with React and Canvas. Currently the components are rendered in React and canvas is done with vanilla javascript. I\'d like to two to mesh more, so I w
Like this
colorStripClick: function (e) { var context = e.currentTarget.getContext('2d'); // your code }
Example