yarn react-dnd 3.0.0
TS Migration

latest releases: 16.0.1, 16.0.0, 15.1.2...
5 years ago

In this release we've migrated the codebase to Typescript. The published libraries now have their own embedded typings definitions. It will remain an ongoing effort to improve the typings in our code.

Breaking Changes:

  • Removed the dependency on window from react-dnd. This should allow us to experiment with using react-dnd react-native. To support this, the DragDropContextProvider has been totally changed up. It now accepts a context object parameter that is backend-implementation dependent. Currently the HTML5Backend will need context to be { window }
  • The DragDropContext component will no longer try to unpack ES6 modules. The difference between CommonJS and ES6 module formats is well known by now.
  • The dnd-core`s redux actions are now FSA-compliant.
  • dnd-core Redux has been upgraded to 4.x

Don't miss a new react-dnd release

NewReleases is sending notifications on new releases.