Problem/Motivation
Efforts are underway to remove jQuery from core: #3052002: [meta] Replace JQuery with vanilla Javascript in core
The functionality in ajax.es6.js seems particularly tricky to separate from jQuery. It seems unlikely it could be accomplished in the scope of a single issue, so this is going to be a meta.
Removing the dependency on the jquery-form library seems like a priority. It's possible the jQuery removal efforts won't complete before it becomes necessary to update to jQuery 4. There's no guarantee that jquery-form will work with jQuery 4, particularly since the library already officially states "Partially compatible with jQuery 3".
Steps to reproduce
Proposed resolution
- Figure out the best way to approach un-jQuerying Drupal core ajax. Consider things like deprecating specific functionality, using modern libraries to achieve equivalent results, see what can be converted to simple Vanilla JS now that ES6 does cool stuff that wasn't available when core/drupal.ajax was built.
- Create issues