Skip to content
react-mediadrop
Esc
navigateopen⌘Jpreview
On this page

Changelog

Release notes for react-mediadrop

0.1.0

Initial release

  • useMediaDrop — headless file intake: drag/drop + picker, sync validation (accept/maxFiles/minSize/maxSize + custom validator), typed MediaDropErrors, best-effort isDragAccept/isDragReject drag state.
  • Upload (opt-in via transport): a pluggable transport contract, a queue with concurrency/retry/cancel, and per-file uploadStatus/progress/ uploadError/uploadResult. Without a transport, nothing changes about the existing file intake/validation behavior above.
  • react-mediadrop/xhr-upload — reference XMLHttpRequest transport, tree-shakeable as a separate entry point so consumers who don’t import it never bundle it.
  • @mediadrop/core bundled directly into react-mediadrop’s dist — one package to install, no separate core dependency.

See the full changelog in the source repo.

Was this page helpful?