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

Remove unnecessary React propTypes from the production build. :balloon: (by oliviertassinari)

Babel-plugin-transform-react-remove-prop-types Alternatives

Similar projects and alternatives to babel-plugin-transform-react-remove-prop-types based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better babel-plugin-transform-react-remove-prop-types alternative or higher similarity.

babel-plugin-transform-react-remove-prop-types reviews and mentions

Posts with mentions or reviews of babel-plugin-transform-react-remove-prop-types. We have used some of these posts to build our list of alternatives and similar projects.
  • Migrating your React app from Webpack to Vite
    1 project | dev.to | 7 Apr 2022
    But sometimes Babel plugins may still come in handy. For example, there's a plugin to remove PropTypes you can use to make bundle size a bit smaller, and there's a [dedicated plugin for styled-components] that makes development and testing easier by, among others, adding component display names.
  • Why is prop-types not a dev dependency?
    1 project | /r/reactjs | 4 Nov 2021
    It's true that if you use something like babel-plugin-transform-react-remove-prop-types, then you will only need this runtime code in a dev build, not a production build. But a "dev dependency" is not really about whether it's a dev build or a prod build; it's about runtime vs build time. If you need it at runtime, it's a regular dependency.

Stats

Basic babel-plugin-transform-react-remove-prop-types repo stats
2
899
1.8
over 2 years ago

oliviertassinari/babel-plugin-transform-react-remove-prop-types is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of babel-plugin-transform-react-remove-prop-types is JavaScript.


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com