npm react-dnd 4.0.0
React 17 Prep

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

Breaking Changes:

  • Using new React Context API. React Peer dependency has been pinned at >= 16.3., which is when that API was released.
  • Dictionary objects have been replaced with ES6 Maps, shims may be required for older and non-compliant browsers.

Other Changes:

  • Remove dependency on @types/redux, since redux provides its own typings
  • React 17 prep - remove usage of lifecycle methods that are being deprecated
  • Replace all require()s with imports, which was causing grief for some users. This resulted in some culling of dependencies.
  • Remove isClassComponent check from decorateHandler. This check was not working correctly in certain situations, and resulted in silent failures. By just setting the ref directly, React will emit warnings about not being able to ref SFCs, which is more useful.

Don't miss a new react-dnd release

NewReleases is sending notifications on new releases.