Core: Deprecated defaultProps still used #3786
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
It seems that Primereact uses the deprecated defaultProps (became deprecated yet in 2019 (RFC)). Now, if you try to use the UI in your React 18 project with React Dev Tools enabled, you'll get a warning about it.
Any plans to refactor the deprecated code?
Reproducer
No response
PrimeReact version
8.7.3
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No deprecated code expected.
The text was updated successfully, but these errors were encountered: