Checkboard: Support for defaultProps will be removed from function components
lolouthefox opened this issue · comments
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?
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.
I am also getting the same warning in Next.js v13.4.19, react-color v2.19.3, react v18.2.0.
Any update on this?
just remove this warning, its annoying
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,
I've submitted PR #893 to fix this issue, but I'm doubting it will be merged anytime soon.
Is this project still being maintained? The last time a PR was merged was 3 years ago.
It would be great if we could get an update from the maintainers.