Hello, this issue is about a bundle size. The next line from the Include the Component chapter of the readme:
import { SketchPicker } from 'react-color';
import SketchPicker from 'react-color/lib/components/sketch/Sketch';
Second variant is better, of course. But /lib/components/sketch/ it's the insides of the library. It can change in the future. I think react-color/sketch is better, is it?
Yes, you are correct! There was actually a PR merged a month ago that fixes this, it places references to the individual components in the root of lib: https://github.com/casesandberg/react-color/pull/356
Most helpful comment
Yes, you are correct! There was actually a PR merged a month ago that fixes this, it places references to the individual components in the root of lib: https://github.com/casesandberg/react-color/pull/356