jquery-4

Migrates jQuery 3.x projects to 4.0.0 with native JS replacements.

3|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/evolv3ai/claude-skills-archive --skill jquery-4-evolv3ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jquery-4
Source: https://github.com/evolv3ai/claude-skills-archive/tree/main/skills/jquery-4
Command: npx skills add https://github.com/evolv3ai/claude-skills-archive --skill jquery-4-evolv3ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and actionable steps to safely migrate projects from jQuery 3.x to jQuery 4.0.0, preventing common errors and ensuring compatibility.

Core Features & Use Cases

  • Breaking Changes Identification: Details all removed APIs, event order changes, and differences between slim/full builds.
  • Native Replacements: Offers direct JavaScript equivalents for deprecated jQuery functions.
  • Use Case: You are upgrading a legacy WordPress theme that relies heavily on jQuery 3.x. This Skill will guide you through identifying and fixing all the deprecated function calls and event handling issues introduced in jQuery 4.0.

Quick Start

Use the jquery-4 skill to help migrate the project's jQuery code from version 3 to version 4.

Frequently Asked Questions about jquery-4

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate jQuery 3.x code to jQuery 4.0 safely?

To migrate jQuery 3.x code to jQuery 4.0 safely, identify breaking changes and removed APIs, then replace deprecated functions with native JavaScript equivalents to ensure full compatibility.

What jQuery 4.0 breaking changes affect legacy web applications?

jQuery 4.0 breaking changes affecting legacy web applications include removed APIs like $.isArray, $.trim, and $.parseJSON, along with focus event order modifications and differences between slim and full builds.

What are the native JavaScript replacements for deprecated jQuery 4.0 functions?

Native JavaScript replacements for deprecated jQuery 4.0 functions include using Array.isArray for $.isArray, String.prototype.trim for $.trim, and JSON.parse for $.parseJSON to maintain functionality without the library.

Does jQuery 4.0 work with legacy WordPress themes?

jQuery 4.0 works with legacy WordPress themes, but requires updating deprecated function calls and resolving event handling issues to safely migrate projects relying heavily on jQuery 3.x.

What is the difference between jQuery 4.0 slim and full builds?

The difference between jQuery 4.0 slim and full builds involves the inclusion or exclusion of specific modules, requiring developers to choose the appropriate build based on their web application's feature dependencies during migration.

Why does the focus event order change in jQuery 4.0?

The focus event order change in jQuery 4.0 aligns with standard browser behavior, requiring developers to update legacy event handling logic to prevent compatibility issues during migration.