Skip to content

Upgrading react-dropzone 2 to 3

Breaking2.2.4 → 3.13.4Breaking2Platform1Deprecated1New9Changed2Fixed24Other10

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • If your app still uses React 0.13, stay on version 2.x of this package.
  • If your drop handler reads the event, it is now the third argument instead of an earlier position.
  • The package now officially accepts React 16 as a compatible peer dependency.
  • Some component options are now flagged as deprecated and will warn when used.
4 items need code or config changes

Adds prop-types ^15.5.7.

Installs 7 packages in all (was 2).

Breaking2
Drops React 0.13 support; users on React 0.13 should install the 2.x release.
Changes the onDrop signature so it is called with 3 arguments, with event as the third.
onDropevent
Platform1
Adds React 16 to the peer dependencies range.
Deprecated1
Adds deprecation warnings for some props.