Removing jQuery from GitHub.com frontend

This post details the successful removal of jQuery as a frontend dependency on GitHub.com. It explains the historical context of jQuery's adoption, the technical reasons for its deprecation (e.g., availability of standard browser APIs like querySelectorAll, Element.classList, Fetch API, addEventListener), and the challenges and strategies involved in its incremental decoupling. Key strategies include discouraging new jQuery usage via ESLint, maintaining custom jQuery builds to remove unused modules, dropping support for older browsers, and converting legacy behaviors to vanilla JavaScript and Custom Elements. The post also highlights the benefits of this migration, such as reduced bundle size, faster page load times, and improved code maintainability.