{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-duplicate-js-b08ec2685f11","title":"Remove Duplicate JavaScript Libraries","summary":"Identify and eliminate redundant JavaScript libraries to reduce bundle size, memory usage, and potential conflicts between versions of the same code.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-js-b08ec2685f11","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-js-b08ec2685f11","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-js-b08ec2685f11.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-js-b08ec2685f11\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Verify the actual bottleneck using DevTools, Lighthouse, or field data before recommending changes. Ensure third-party scripts are audited for bundled dependencies.","instructions":"---\nname: duplicate-js\ndescription: \"Use when auditing slow page loads, heavy assets, or rendering delays related to Remove duplicate JavaScript libraries. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.\"\nmetadata:\n  category: performance\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"15\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/performance\/duplicate-js\n---\n\n# Remove duplicate JavaScript libraries\n\nDuplicate libraries increase bundle size and memory usage, and can lead to unexpected behavior or conflicts between different versions of the same code.\n\n## Quick Reference\n\n- Detect and remove multiple versions of the same library\n- Use a single version across the entire application\n- Audit third-party scripts for bundled dependencies\n\n## Check\n\nIdentify duplicate JavaScript libraries or multiple versions of the same library being loaded using Lighthouse or bundle analysis tools.\n\n## Fix\n\nConsolidate dependencies to use a single version and ensure third-party scripts don't bring in redundant libraries.\n\n## Explain\n\nExplain the risks of loading duplicate JavaScript libraries and how it impacts performance and stability.\n\n## Code Review\n\nReview the routes, assets, and loading behavior that affect Remove duplicate JavaScript libraries. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/performance\/duplicate-js\n","use_cases":["Audit slow page loads caused by multiple versions of the same library","Reduce memory usage and improve application stability","Prevent conflicts between different versions of the same code"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/duplicate-js\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:58:07.000000Z","updated_at":"2026-11-23T04:55:08.000000Z","seo_title":"Remove duplicate JavaScript libraries for performance","seo_description":"Optimize performance by removing duplicate JavaScript libraries that increase bundle size and memory usage.","seo_keywords":["remove duplicate JavaScript libraries","optimize JavaScript performance","reduce bundle size","fix duplicate library conflicts"]}}