Gunnerproject: Fileupload
// UI Callbacks onProgress: (file, progress) => console.log(`$file.name is $progress% done.`); updateProgressBar(file.id, progress); ,
It starts simple. "Just add an input tag," they say. But then the requirements roll in: “We need to support drag-and-drop.” “We need progress bars.” “We need to validate file types before the server crashes.” “Wait, the user tried to upload a 5GB video on a mobile connection?” fileupload gunnerproject
Expected behavior: all rejected or sanitized. // UI Callbacks onProgress: (file, progress) => console