block-components icon indicating copy to clipboard operation
block-components copied to clipboard

Migrate away from `defaultProps`

Open fabiankaegy opened this issue 1 year ago • 0 comments

prop types / defaultProps were deprecated all the way in 2017 and are now getting removed in React 19.

WordPress will likely update it's React version relatively soon after the release so we should ensure we are finally finishing the migration away from defaultProps

https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-deprecated-react-apis

fabiankaegy avatar Apr 30 '24 06:04 fabiankaegy