Core: learn it Step 14 of 16 on the Frontend Developer roadmap
Shipping less JavaScript
Every script must be downloaded, read and run, which is slow on cheaper phones. Remove libraries you do not use and split large bundles so each page loads only what it needs.