Skip to content

v2.4.1

Compare
Choose a tag to compare
@nkbt nkbt released this 02 May 22:22
· 167 commits to master since this release

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.