With Vue being set as new framework for future Wikimedia UI toolkit Codex, we should use it when developing new features for MediaUploader. The entire codebase should be eventually converted to allow for easier development and maintenance.
Along with that, ES6 is finally being added to ResourceLoader, which would greatly ease the immense pain of writing frontend code. The migration should probably be done in tandem with introducing Vue.
This epic is outside the scope of T274891: [EPIC] MediaUploader MVP, but some parts will probably be transformed to Vue/ES6 before it's finished.