Depreciation Warning <Component>.defaultProps

Author: sarojshakya01Created May 5, 2025Updated May 21, 2026

I am encountering following irritating warning in my console. Has it been addressed in the beta version? Will be it be updated in the future release? "Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead."

Source: casesandberg/react-color