oliviertassinari / babel-plugin-transform-react-remove-prop-types

Remove unnecessary React propTypes from the production build. :balloon:
MIT License
897 stars 61 forks source link

Add handling for removing propTypes for React.Memo component with implicitly returned #199

Closed leusrox closed 2 years ago

leusrox commented 3 years ago

Closes https://github.com/oliviertassinari/babel-plugin-transform-react-remove-prop-types/issues/196#issuecomment-857658735

leusrox commented 2 years ago

Hi @oliviertassinari! The tests is passed 🎉 Could you look again, please?

leusrox commented 2 years ago

@oliviertassinari Sorry for the intrusiveness, but is it possible to publish a patch for this fix? We'd like to include this into our build because it will help to remove propTypes for many components.

leusrox commented 2 years ago

@oliviertassinari Sorry for the intrusiveness, but is it possible to publish a patch for this fix? We'd like to include this into our build because it will help to remove propTypes for many components.

Bump 😊

jsmecham commented 1 year ago

@oliviertassinari Any chance of cutting a release containing this?