casesandberg / casesandberg/react-color

Depreciation Warning <Component>.defaultProps

Open
#955 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

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."

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the React console warning in the project and locating the function components that use defaultProps; determine whether the warning is addressed in the beta or a future release. Done means the affected components no longer produce this warning, with relevant coverage if the project has tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.