Direct upload to carrierwave

I am starting to integrate Stimulus into an app that uses Carrierwave as an upload backend these days.

So I wondered how that could be achieved with Stimulus. Using ActiveStorage I already did that (via the dedicated js library), however that is not an option here. (I’ve even written about it here)

I don’t want to fall back on JQuery here, which of course offers a ton of uploaders.

What would you suggest? Are there any best practices on how to best implement such a functionality using stimulus? Or even a library?

One simple way I could think of would be using dropzone, without an actual drop zone :slight_smile:

Would be very grateful for pointers, thanks!