react-collapse v2.4.1 Release Notes

Release Date: 2017-05-02 // about 7 years ago
  • ๐Ÿš‘ HOTFIX

    • #174 @nkbt Fix backward compatibility with react 14

    ๐Ÿ‘‰ Make sure you have [email protected] for dev mode.

    ๐Ÿšš For production (if you use older versions of react or just as a general advice) - use babel-plugin-transform-react-remove-prop-types extra plugin for babel:

    { "env": { "production": { "plugins": [["transform-react-remove-prop-types", {"removeImport": true}] ] } } }
    

    ๐Ÿšš This plugin will remove any mention of prop-types and PropTypes themselves. They are ignored by React anyway in production runtime.