sarink / react-file-drop

React component for Gmail or Facebook -like drag and drop file uploader
https://www.sarink.net
176 stars 54 forks source link

Integrate with the File System Access API as a progressive enhancement #98

Open tomayac opened 1 year ago

tomayac commented 1 year ago

It would be great if this made use of DataTransferItem.getAsFileSystemHandle() from the File System Access API as a progressive enhancement as per my write-up. This way, dropped files could be edited right away (instead of forcing a download of a copy), which would be a great win for apps that need to modify dropped files, like online image editors. Also see the MDN docs.

dreyescabrera commented 6 months ago

Apparently this lib doesn't bother. That's sad since I want to adopt the new API.