Checkboard: Support for defaultProps will be removed from function components
lolouthefox opened this issue ยท 6 comments
lolouthefox commented
I came across this error while using the ChromePicker;
Warning: Checkboard: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
at Checkboard (webpack-internal:///(app-pages-browser)/./node_modules/react-color/es/components/common/Checkboard.js:16:20)
is it just me?
pl0erre commented
I have the same for Compact Warning: Compact: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
robbiecren07 commented
I am also getting the same warning in Next.js v13.4.19, react-color v2.19.3, react v18.2.0.
LukePenkava commented
Any update on this?
ajaykumareminence commented
just remove this warning, its annoying
haihoang266 commented
I have same issue for Sketch
Warning: Sketch: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
With react ^18, next: 13.5.6 and react-color ^2.19.3,