Annoying defaultProps deprecation warnings
Closed this issue · 0 comments
andlbrei commented
React 18.3.1 (I think) introduced warnings for deprecation of defaultProps.
These are quite annoying especially in test output, and are not possible to silence without silencing other warnings, as far as I know.
Warning: Content: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
If you know how to get rid of only these warnings, please let me know.