react-switch v3.0.0-beta.0 Release Notes

Release Date: 2018-06-06 // over 3 years ago
  • ๐Ÿ”„ Changed

    • Project structure was completely revamped to reduce bundle size:
    1. Use rollup to bundle the different source files.
    2. Use buble instead of babel for transpiling since it produces tinier output. ๐Ÿšš 3. Remove prop-types from production mode. Prop-types are still there in development mode so developer experience is unchanged.
    3. Mangle property names with uglify by putting a \$-sign at the start of the properties that are safe to mangle.

    ๐Ÿ›  Fixed