Refactor (if feasible) uses of the jQuery deferred function to use Vanilla/native

Created on 30 September 2021, about 3 years ago
Updated 31 August 2024, 3 months ago

Problem/Motivation

As mentioned in the parent issue #3238306: [META] Where possible, refactor existing jQuery uses to vanillaJS to reduce jQuery footprint , we are working towards reducing our jQuery footprint. One of the ways to accomplish this is to reduce the number of jQuery features used in Drupal core. We have added eslint rules that identify specific features and fail tests when those features are in use.

There are (or will be) individual issues for each jQuery-use eslint rule. This one is specific to jquery/no-deferred, which targets the jQuery deferred function.

Steps to reproduce

Proposed resolution

Remaining tasks

  • If it's determined to be feasible, refactor those uses of jQuery .deferrred() to use Vanilla (native) JavaScript instead.

Add deprecation, see #17

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Javascript 

Last updated 3 days ago

Created by

🇺🇸United States Theresa.Grannum Boston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024