yocontra / react-responsive

CSS media queries in react - for responsive design, and more.
https://contra.io/react-responsive
MIT License
7.04k stars 298 forks source link

prop-types removal #322

Open XaveScor opened 6 months ago

XaveScor commented 6 months ago

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

React 19 doesn't support prop-types. I guess the react-responsive can eliminate its support.

yocontra commented 6 months ago

Thanks for the notice - I'll leave it in for a bit just for backwards compatibility with older versions of react, until 19 becomes the most downloaded version on NPM then we can remove it.