react-draggable v4.0.0 Release Notes

Release Date: 2019-08-26 // over 4 years ago
  • ๐Ÿš€ > This is a major release due to a React compatibility change. If you are already on React >= 16.3, this upgrade is non-breaking.

    • *Requires React 16.3+ due to use of getDerivedStateFromProps.
    • โฌ†๏ธ Upgraded build environment to Babel 7.
    • ๐Ÿ— Switched build from rollup to webpack@4 to simplify.
    • โž• Added CJS build that does not bundle classNames & prop-types into the build. This should result in marginally smaller bundle sizes for applications that use bundlers.
    • โœ‚ Removed Bower build.