Remove jQuery dependencies

Created on 21 June 2024, 10 months ago
Updated 22 June 2024, 10 months ago

Problem/Motivation

Is jquery dependencies removal on the cards?

Thank you

Feature request
Status

Closed: works as designed

Version

4.0

Component

Javascript General / Frontend

Created by

🇮🇹Italy trickfun

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

Comments & Activities

  • Issue created by @trickfun
  • Status changed to Closed: works as designed 10 months ago
  • 🇩🇪Germany christianadamski Berlin, Germany

    Already done. The only jQuery left should be the ones mandated by Drupal. And maybe stuff I haven't got around to do yet?

  • 🇮🇹Italy trickfun

    @ChristianAdamski Thank you
    Great work but i found jQuery inside geolocation-views-filter-geocoder.js and other js files.
    Am I wrong?

  • Status changed to Postponed: needs info 10 months ago
  • 🇩🇪Germany christianadamski Berlin, Germany

    I just looked into it and did find a few more to remove, but a few major ones remain:

    - jQuery.ajaxComplete() calls but Drupal Core. I simply do not know how to replace these, since I do not control the calls themselves, I can only react to them
    - Geocoder stuff. This needs autocomplete JS, and core uses jquery autocomplete there
    - Geometry Widget: simply haven't come around to work on that.

    If you have any suggestions how replace any of these, please tell me :)

  • Status changed to Closed: works as designed 10 months ago
  • 🇩🇪Germany christianadamski Berlin, Germany

    Checked again, I don't any more jQuery can be removed right now.

Production build 0.71.5 2024