Removing jQuery from GOV.UK

The GOV.UK team recently published “How and why we removed jQuery from GOV.UK“. This was an insightful look at how an organization can assess its tooling and whether something is still the best tool for the job. This …


Removing jQuery from GOV.UK originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

The GOV.UK team recently published “How and why we removed jQuery from GOV.UK“. This was an insightful look at how an organization can assess its tooling and whether something is still the best tool for the job. This is not a nudge to strip libraries out of your current project right now! Many of us may still be supporting legacy projects and browser requirements that prevent this from being a viable option.

Some of the criticism appears to be that the library size argument is negligible on modern network speeds and caching.

GOV.UK posted an update to address this criticism with metrics – “The impact of removing jQuery on our web performance“.

This article also makes the case for improving maintenance. Instead of upgrading disparate outdated versions of code and having to address security updates in a piecemeal approach, removing the dependency reduces this footprint. This is the dream of having the luxury for addressing technical debt.

Previously, GitHub also documented how they incrementally decoupled jQuery from their front-end code. Improving maintenance and developer experience played a role into their decision.

What caught my eye in particular was the link to the documentation on how to remove jQuery. Understanding how to decouple and perform migration steps are maintenance tasks that will continue to come up for websites and it’s reassuring to have a guide from someone that had to do the same.

Further musing on this subject turned up the old chestnuts “You Might Not Need jQuery” (2014), “(Now More Than Ever) You Might Not Need jQuery” (2017), “Is jQuery still relevant? (1)” (2016), and “Is jQuery still relevant? (2)” (2017).

To Shared LinkPermalink on CSS-Tricks


Removing jQuery from GOV.UK originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.


Print Share Comment Cite Upload Translate
APA
Bradley Kouchi | Sciencx (2024-03-29T07:15:40+00:00) » Removing jQuery from GOV.UK. Retrieved from https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/.
MLA
" » Removing jQuery from GOV.UK." Bradley Kouchi | Sciencx - Tuesday August 23, 2022, https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/
HARVARD
Bradley Kouchi | Sciencx Tuesday August 23, 2022 » Removing jQuery from GOV.UK., viewed 2024-03-29T07:15:40+00:00,<https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/>
VANCOUVER
Bradley Kouchi | Sciencx - » Removing jQuery from GOV.UK. [Internet]. [Accessed 2024-03-29T07:15:40+00:00]. Available from: https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/
CHICAGO
" » Removing jQuery from GOV.UK." Bradley Kouchi | Sciencx - Accessed 2024-03-29T07:15:40+00:00. https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/
IEEE
" » Removing jQuery from GOV.UK." Bradley Kouchi | Sciencx [Online]. Available: https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/. [Accessed: 2024-03-29T07:15:40+00:00]
rf:citation
» Removing jQuery from GOV.UK | Bradley Kouchi | Sciencx | https://www.scien.cx/2022/08/23/removing-jquery-from-gov-uk/ | 2024-03-29T07:15:40+00:00
https://github.com/addpipe/simple-recorderjs-demo