Ditch defaultProps
since it'll be deprecated in the future
#277
Labels
hacktoberfest
Issues dedicated for the annual annual Hacktoberfest open source festival.
package:react
Issues/PRs related to the `@oxygen-ui/react` package.
Type/Improvement
Is your suggestion related to an experience ? Please describe.
defaultProps
on functional components will be deprecated in the future.See: facebook/react#16210
Describe the improvement
Ditch
defaultProps
and use the ES6 syntax.Additional context
N/A
The text was updated successfully, but these errors were encountered: