Author Name Kathryn Anne Tan Social Media https://twitter.com/KTan360 Image by https://annieruygtillustration.com/ This however only uploads the files in one way: all files in one request, each file sent as a whole.
With it we'll upload our files in parallel requests, and by the end, in chunks!
Then declare $uploads as an array to cater for multiple file selection: use Livewire\WithFileUploads; class MultipleFileUploader extends Component { use WithFileUploads; public $uploads = []; Neat!
We'll feed the final file to Livewire's https://github.com/livewire/livewire/blob/master/src/WithFileUploads.php#L37 class in order to utilize Livewire's uploaded file https://laravel-livewire.com/docs/2.x/file-uploads.