Visualization of jQuery use in Drupal 8

The exhaustive list of what Drupal uses jQuery for

Since FrontendUnited 2012 Amsterdam, I’ve been saying Drupal core should significantly cut it’s jQuery use. Until now it was without much data to back it up. What follows is a visualization of jQuery modules use in Drupal 8 code, it’s fancy so feel free to click everywhere. There is additional information in titles, be sure to check those out. Took long enough to make, sorry mobile users.

preview of the visualization graph

I’ve been working on a tool that inspect javascript files and show all jQuery methods and Sizzle selectors used in that file. I will be releasing it soon, once the npm namespace issue has been sorted out and I polished it a little bit more. Meanwhile, I ran it on Drupal code and got this: .

Comments

Reply