Closed
Description
Is there an existing issue for this?
- I have searched the existing issues and my issue is unique
- My issue appears in the command-line and not only in the text editor
Description Overview
According to this issue
, in future version using defaultProps
will be deprecated for functions components and not recommended for function components.
However, according the documentation
, function components still relies on defaultProps
.
Expected Behavior
Change the default value of the rule option to be defaultArguments
instead of defaultProps
eslint-plugin-react version
v7.31.11
eslint version
v8.31.0
node version
v18.12.1