react-transition-group icon indicating copy to clipboard operation
react-transition-group copied to clipboard

Consider removing prop-types dependency

Open vorant94 opened this issue 1 year ago • 0 comments

What would you like improved?

prop-types are marked as deprecated as of 2017 and in the upcoming React 19 validation failure will start to be silently ignored. Official React docs suggest replacing it with TypeScript interface to still benefit from build-time checks and reduce the overall bundle size. Please consider removing this lib from the list of dependencies. If you are OK with, I'll be glad to contribute the fix

https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops

vorant94 avatar Jul 20 '24 08:07 vorant94