As part of the migration towards modern web standards and the adoption of Vue 3 we can replace most calls to jquery methods by native ES6 features.
List of possible replacements:
- $.Deferred(): new Promise()
- $.when() : Promise.all()
- $.isEmptyObject(obj) : Object.keys(obj).length === 0; (Note this fails for dates, not relevant in our case I think)
- $.getJSON(): fetch()