# hubspot/youmightnotneedjquery

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/hubspot-youmightnotneedjquery).**

14,167 stars · 523 forks · Astro · MIT

## Links

- GitHub: https://github.com/HubSpot/youmightnotneedjquery
- Homepage: http://YouMightNotNeedjQuery.com
- awesome-repositories: https://awesome-repositories.com/repository/hubspot-youmightnotneedjquery.md

## Description

This project is a browser API compatibility guide and replacement library designed to help migrate legacy codebases from jQuery to native browser APIs. It serves as a reference guide for finding vanilla JavaScript alternatives to common library methods.

The resource focuses on vanilla JavaScript migration to reduce dependency overhead and improve page load times. It provides a mapping of library-specific functions to standard JavaScript methods to support frontend performance optimization and modern web development.

The guide covers DOM manipulation, event handling, and the implementation of standard JavaScript patterns that ensure consistent behavior across different modern and legacy web browsers.

## Tags

### Web Development

- [Library Migrations](https://awesome-repositories.com/f/web-development/library-migrations.md) — Replace common jQuery methods with native JavaScript code to ensure consistent behavior across modern and legacy browsers. ([source](https://github.com/hubspot/youmightnotneedjquery#readme))
- [Browser Compatibility & Utilities](https://awesome-repositories.com/f/web-development/browser-integration-utilities/browser-compatibility-utilities.md) — Provides utilities that ensure consistent application behavior across various web browser environments.
- [API Compatibility Guides](https://awesome-repositories.com/f/web-development/browser-integration-utilities/browser-compatibility-utilities/api-compatibility-guides.md) — Provides a comprehensive mapping of jQuery functions to standard JavaScript methods supported by modern browsers.
- [DOM & Event Handling](https://awesome-repositories.com/f/web-development/browser-integration-utilities/dom-event-handling.md) — Provides a reference for interacting with the Document Object Model and managing event handling using native code.
- [Frontend Performance Optimization](https://awesome-repositories.com/f/web-development/frontend-performance-optimization.md) — Implements techniques for reducing page load times by replacing heavy libraries with native JavaScript.

### Development Tools & Productivity

- [Code Translation Mappings](https://awesome-repositories.com/f/development-tools-productivity/code-translation-mappings.md) — Provides a direct one-to-one translation of library-specific syntax into vanilla JavaScript code snippets.

### Education & Learning Resources

- [Legacy Library Migration Guides](https://awesome-repositories.com/f/education-learning-resources/legacy-library-migration-guides.md) — Serves as a resource for replacing outdated third-party libraries with native language features.
- [Vanilla JavaScript Reference Guides](https://awesome-repositories.com/f/education-learning-resources/vanilla-javascript-reference-guides.md) — Offers guides and mapping tables for replacing library-specific methods with native browser API calls.

### Programming Languages & Runtimes

- [API Wrappers](https://awesome-repositories.com/f/programming-languages-runtimes/programming-utilities/function-utilities/api-wrappers.md) — Ships small helper functions that wrap native browser APIs to replicate legacy chaining and selection patterns.
- [API Polyfills](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/runtime-environments/runtimes/javascript-and-web-standard/api-polyfills.md) — Implements API polyfills to ensure consistent behavior across different browser versions during library migration.

### Software Engineering & Architecture

- [Cross-Browser Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/application-frameworks/general-purpose-frameworks/cross-browser-abstractions.md) — Provides mechanisms that wrap inconsistent browser APIs into a unified interface for DOM manipulation.
