Page MenuHomePhabricator

Vue migration: replace jquery by native ES6 features
Open, Needs TriagePublic

Description

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()

Event Timeline

Sgs removed Sgs as the assignee of this task.Jun 27 2022, 5:35 PM

I think this is not necessary a current sprint task, but rather something in the Growth-Team Upcoming Work column. Does that sound right to you @Sergio?

I think this is not necessary a current sprint task, but rather something in the Growth-Team Upcoming Work column. Does that sound right to you @Sergio?

Right