Tech is political: The people under attack in Palestine 🇵🇸, Iran 🇮🇷, and Lebanon 🇱🇧 are people like us. They’re our brothers and sisters, too. Read up on their history, scrutinize what you’re told, and demand that they be respected. Hide

Frontend Dogma

“javascript” News Archive (2)

Entry (Sources) and Additional TopicsDate#
How to Use JavaScript With LangChain: A Step-by-Step Guide1717
how-tos, guides, langchain
Bitwise Operators in JavaScript and When to Use Them (8ho)1716
operators
Rethinking CSS in JS1715
css, css-in-js, design, design-systems, maintenance, state-management
The Redmonk Programming Language Rankings: June 2024 (red)1714
programming, comparisons, python, java, php, typescript, css, ruby, go, shells, rust, dart
Something Went Wrong (mol)1713
frameworks, community, developer-experience, user-experience
From Node.js to Deno: How It All Began (tin)1712
videos, nodejs, deno, runtimes, history
JavaScript Promises in Depth With V8 Engine Internals1711
promises, v8
What Does Hydration Mean? (chr/fro)1710
hydration, concepts, html, dom
“setImmediate()” vs. “setTimeout()” in JavaScript (tre)1709
time, comparisons
The State of ES5 on the Web (phi)1708
ecmascript, tooling, support
The Secrets of the “delete” Operator in JavaScript1707
operators
A Compelling Case for the Comma Operator1706
operators
Quick Tip: Using “flatMap()” to Extract Data From a Huge Set Without Any Loop (cod)1705
arrays, tips-and-tricks
Understanding JavaScript Closures With Examples (tre)1704
closures, examples
Look Out, Kids: PHP Is the New JavaScript (dav)1703
php, laravel, frameworks
JavaScript/Python Array Quick Reference (8ho)1702
python, arrays, overviews
A Complete Guide to Beginning With JavaScript (fro)1701
guides, link-lists, learning
Cleaning and Speeding Up the JS Ecosystem—Journey So Far1700
optimization
“AggregateError” in JavaScript (tre)1699
errors
How I Created a 3.78 MB Docker Image for a JavaScript Service1698
docker
An Enhancement to Accessible Responsive Tables (tem)1697
accessibility, tables, responsive-design
Understanding Web Storage: localStorage, sessionStorage, and Cookies1696
browser-storage, cookies
OpenAI Is Shockingly Good at Unminifying Code1695
ai, openai, minification
JavaScript Generators Explained, but on a Senior-Level (jan)1694
functions
Generating Unique Random Numbers in JavaScript Using Sets (sma)1693
randomness
How to Easily Add Dark Mode to Your Website1692
how-tos, dark-mode, html, css, functionality
What Skills Should You Focus on as Junior Web Developer in 2024? (fro)1691
career, fundamentals, html, css, frameworks, tooling, learning, link-lists
Mutation-Testing Our JavaScript SDKs (get)1690
testing, case-studies
Raw-Dogging Websites (bra)1689
html, css, tech-stacks
The Only Widely Recognized JavaScript Feature Ever Deprecated (tre)1688
history, deprecation
The Top Programming Languages 2024 (iee)1687
programming, comparisons, python, java, typescript, sql, go, html, php, lua
Can You Convert a Video to Pure CSS?1686
multimedia, conversion, css
Exposing Internal Methods on Vue Custom Elements (jai)1685
vuejs
Inside ECMAScript: JavaScript Standard Gets an Extra Stage1684
ecmascript
Regexes Got Good: The History and Future of Regular Expressions in JavaScript (sma)1683
regex, history
JS Dates Are About to Be Fixed (iag)1682
ecmascript
Line Numbers for “<textarea>” Using SVG (sto)1681
forms, svg
Using JavaScript Generators to Visualize Algorithms1680
algorithms, visualization
Good Refactoring vs. Bad Refactoring (ste/bui)1679
refactoring, comparisons, maintenance, quality
Reckoning: The Way Out (sli)1678
performance, metrics, hiring
How I Won $2,750 Using JavaScript, AI, and a Can of WD-401677
ai
Reckoning: Caprock (sli)1676
performance
Reckoning: Object Lesson (sli)1675
performance, metrics
Reckoning: The Landscape (sli)1674
performance, metrics, mobile
12 Best JavaScript Animation Libraries to Supercharge Your Web Projects in 20241673
animations, libraries, link-lists
Common Causes of Memory Leaks in JavaScript (tre)1672
memory, garbage-collection
Exploring the Possibilities of Native JavaScript Decorators (fro)1671
software-design-patterns
The Art of Dithering and Retro Shading for the Web (max)1670
dithering, effects
Should Your Website Work Without JavaScript? (wes+/syn)1669
videos, support
Who Is the Fastest? Node.js, Bun.js, or Deno.js (tre)1668
performance, runtimes, nodejs, bun, deno, comparisons
A Handful of Reasons JavaScript Won’t Be Available (bel/pic)1667
support
Reading From the Clipboard in JavaScript (ray/fro)1666
How Google Handles JavaScript Throughout the Indexing Process1665
google, seo, web-apps, history, rendering
Garbage Collection and Closures (jaf)1664
functions, closures, garbage-collection
Patterns for Memory Efficient DOM Manipulation With Modern Vanilla JavaScript (fro)1663
memory, dom, software-design-patterns
Top 20 JavaScript Tricks and Tips for Every Developer1662
tips-and-tricks
Is It Okay to Make “connectedCallback” Async? (nol)1661
callbacks, asynchronicity, web-components
V8 JavaScript Engine: Let’s Read the Code (ant)1660
videos, v8, javascript-engines
The User Location Is a Lie (aus)1659
geolocation, apis
Benchmarking AWS Lambda Cold Starts Across JavaScript Runtimes (den)1658
deno, aws, serverless, lambda, runtimes, performance, comparisons
Rust Is Revolutionizing JavaScript Development1657
bundling, tooling, rust
Understanding AbortController in Node.js: A Complete Guide (bet)1656
guides, nodejs
Math4Devs1655
websites, math
Learn Web Components (and)1654
websites, courses, web-components, html, css, dom
How to Create Fake Back-End Using IndexedDB1653
how-tos, databases, indexeddb, browser-storage
What’s New for JavaScript Developers in ECMAScript 20241652
ecmascript, standards, promises, unicode, webassembly
Better Ways to Use Async Functions in JavaScript1651
asynchronicity, functions, promises
So You Think You Know Box Shadows?1650
shadows
Don’t Use JS for That: Moving Features to CSS and HTML (kil/jsc)1649
videos, css, html
Summary of the June 2024 TC39 Plenary in Helsinki (iga)1648
ecmascript
JavaScript Event Loop: A Deep Dive1647
event-loop, events, deep-dives
How Fast Is JavaScript? Simulating 20,000,000 Particles1646
performance
Speeding Up the JavaScript Ecosystem—Isolated Declarations (mar)1645
performance, typescript
Script Integrity (chr/fro)1644
embed-code, security
How to Parse HTML in JavaScript (api)1643
how-tos, parsing, html
WebAssembly vs. JavaScript: A Comparison1642
webassembly, comparisons
How to Annul Promises in JavaScript1641
how-tos, promises
Integrate Go Library Into a JavaScript Webpage With WebAssembly (td8)1640
go, webassembly
Browser Support Tests in JavaScript for Modern Web Features (chr/fro)1639
browsers, support, feature-detection
Event Loop and Concurrency Model–Task Queue—How the JS Engine Works (fro)1638
javascript-engines, event-loop, concurrency
Advanced JavaScript Performance Optimization: Techniques and Patterns1637
performance, optimization, techniques, software-design-patterns
New JavaScript Set Methods (bsm/mdn)1636
methods
7 Use Cases for JavaScript Proxies1635
Exploring Randomness in JavaScript1634
randomness
No No-JavaScript (dbu)1633
css, support, progressive-enhancement, graceful-degradation
Uniting Web and Native Apps With 4 Unknown JavaScript APIs (mon/sma)1632
web-apps, native, apis
State of JavaScript 2023 [Results] (sac+/dev)1631
surveys, metrics
A Rant About Front-End Development1630
content, html, css, preprocessors, frameworks, complexity
Positioning Popover Elements (Pseudo-Anchoring) (chr)1629
pop-overs, positioning
Footnotes Progressively Enhanced to Popovers (chr/fro)1628
footnotes, pop-overs, progressive-enhancement, css
Say “No” to “console.log”!1627
console
Dealing With Unicode Strings, Done Right and Better1626
unicode
Mastering JavaScript Generators1625
functions
UUIDv7 in 22 Languages (ant)1624
programming, python, sql, shells, java, php, go, rust, ruby, lua, dart, perl, clojure
Safari 18—What Web Features Are Usable Across Browsers? (ste)1623
browsers, safari, support, interoperability, css
How JavaScript Is Finally Improving the Module Experience1622
modules, esm, commonjs, developer-experience, webassembly
Every Website and Web App Should Have a Service Worker (cfe)1621
web-workers
Weak Memoization in JavaScript1620
memoization
How to Compose JavaScript Functions That Take Multiple Parameters (The Epic Guide) (jrs)1619
guides, how-tos, functions
Refactoring a Scroll-Driven Animation From JavaScript to CSS (and)1618
refactoring, scrolling, animations, css
Comprehensive Guide to Debouncing in JavaScript: Improve Your Code Efficiency1617
guides, debouncing, efficiency
Rust Growing Fastest, but JavaScript Reigns Supreme1616
programming, comparisons, rust, go, lua, dart, java, ruby, php, python
The Ultimate Guide to Iframes (log)1615
guides, iframes, html, security
Control JavaScript Promises From Anywhere Using “Promise.withResolvers()” (fro)1614
promises
Your Node Is Leaking Memory? “setTimeout” Could Be the Reason (mit)1613
nodejs, memory, time, garbage-collection
Generating ZIP Files With JavaScript1612
code-generation
How a Single Vulnerability Can Bring Down the JavaScript Ecosystem1611
npm, dependencies, caching, vulnerabilities, security
Promises From the Ground Up (jos)1610
promises
A Practical Guide Against Barrel Files for Library Authors1609
guides, libraries, anti-patterns
es-toolkit1608
libraries
Why We Don’t Have a Laravel for JavaScript… Yet1607
laravel
Your Site or App Should Work as Much as Possible Without JavaScript (cfe)1606
resilience, graceful-degradation
A Little DevTools Snippet to Check Broken Links on a Webpage (ami)1605
browsers, dev-tools, link-rot, testing
The Long Path of JavaScript—from ES6 Until Today1604
ecmascript, history
Notes on Implementing Dark Mode1603
dark-mode, tailwind
A Primer on JavaScript Proxies (cfe)1602
introductions
CodeFlattener1601
packages, npm
A JavaScript Developer Tries Go for the First Time1600
go
Navigating the JavaScript Framework Ecosystem (add)1599
videos, frameworks
Comprehensive Guide to JavaScript Performance Analysis Using Chrome DevTools1598
guides, performance, debugging, browsers, chrome, dev-tools
JavaScript Security: Simple Practices to Secure Your Frontend1597
security, dependencies, csp
JavaScript Objects—Complete Guide1596
guides, objects
Using the Page Visibility API (bsm/mdn)1595
apis
How to Document Your JavaScript Package (lca+/den)1594
how-tos, dependencies, documentation, writing, jsdoc, readme
Five Basic Things About JavaScript That Will Help Non JavaScript-Focused Web Designers (chr/fro)1593
events, web-components
JavaScript “var”, “let”, and “const” Explained (cfe+)1592
Why Patching Globals Is Harmful1591
programming
Securing Client-Side JavaScript (ada)1590
security, graceful-degradation
At Some Point, JavaScript Got Good1589
history
Celebrate JavaScript Naked Day Every Year on April 24 (zac)1588
awareness-days
How to Escape JavaScript for a Script Tag1587
how-tos, escaping, html
The Problem With “new URL()”, and How “URL.parse()” Fixes That (kil)1586
urls
JavaScript Features That Most Developers Don’t Know1585
functions
April 24 Is JS Naked Day (j9t)1584
awareness-days
Detect JavaScript Support (fon/css)1583
css, media-queries, support
Detect JavaScript Support in CSS (hex)1582
css, media-queries, support
My Code Formatting Guidelines (val)1581
guidelines, formatting, conventions, html, prettier, configuration
The “Intl.Segmenter” Object Is Now Part of Baseline (rac)1580
browsers, support, web-platform
Converting Plain Text to Encoded HTML With Vanilla JavaScript (sma)1579
conversion, html
JavaScript Code Quality Tools: See Qodana in Action (jet)1578
qodana, quality
CSS in React Server Components (jos)1577
css, react, components, css-in-js
Interview With Senior JS Developer 20241576
videos, interviews, frameworks, libraries, tech-stacks, tooling, web-platform
Introducing JS Naked Day (mac)1575
introductions, awareness-days
Accessible Interactions in JavaScript Apps (san)1574
videos, accessibility, aria
Let Me Be1573
videos
JS Naked Day (mac+)1572
websites, awareness-days
How to Make Your Website Work Offline1571
how-tos, web-workers, offline
JavaScript Visualized—Event Loop, Web APIs, (Micro)task Queue1570
videos, visualization, event-loop, events, apis
Learn JavaScript (wil)1569
courses
10 JavaScript Sites Every Web Developer Should Know1568
learning, link-lists
Object Structure in JavaScript Engines1567
objects, javascript-engines
The Easy Way to Access the Last JavaScript Array Element1566
arrays
A Guide to Building CLI Tools in JavaScript1565
guides, tooling, command-line, nodejs
Finally Understanding How “Array.sort(comparator)” Works (jam)1564
arrays
History of JS Interop in Dart1563
dart, interoperability, history
Iterator Helpers1562
ecmascript, javascript-engines, v8
Setting and Persisting Color Scheme Preferences With CSS and a “Touch” of JavaScript (ole/sma)1561
colors, dark-mode, css
Incredible JavaScript Animation Libraries1560
animations, libraries, link-lists
JavaScript Visualized: Promise Execution1559
promises, visualization
Optimizing JavaScript for Fun and for Profit1558
optimization
A Comparison of JavaScript CRDTs (alm)1557
types, comparisons
Copy Objects Ways in JavaScript1556
objects
25 Unnoticeable Features of JavaScript1555
Another JS Registry—Seriously?! (den)1554
videos, jsr, dependencies
How to Read Files Quickly in JavaScript (lem)1553
how-tos, file-handling
Spread vs. Rest Operators in JavaScript1552
operators, comparisons
5 Exciting New JavaScript Features in 20241551
Comparing JavaScript Frameworks: Templates1550
frameworks, templates, comparisons
Things I Learned While Building My JS Library1549
libraries, lessons
JavaScript Runs the World—Maybe Even Literally (wir)1548
programming, web
The Faster Lambda Runtime—Node.js or LLRT? We Benchmarked1547
lambda, runtimes, nodejs, comparisons, metrics
Eloquent JavaScript (mar)1546
websites, books
TIL—“submit()” Versus “requestSubmit()” (ray)1545
comparisons
Introducing JSR—the JavaScript Registry (lca+/den)1544
introductions, jsr, deno, dependencies
A Fun Line of Code (dbu)1543
apis, multimedia
What Is a Single-Page Application? (hey)1542
single-page-apps, performance, user-experience
Filling Gaps With a Polyfill (jay)1541
polyfills, html, css, history
JSR: What We Know So Far About Deno’s New JavaScript Package Registry (sar/soc)1540
jsr, deno, dependencies
Vanilla JavaScript, Libraries, and the Quest for Stateful DOM Rendering (sma)1539
libraries, client-side-rendering, state-management
JavaScript Bloat in 2024 (nik)1538
performance
How to Use Local Storage in JavaScript (fre)1537
how-tos, browser-storage
“random()” Distribution Visualizer1536
randomness, visualization
Why Is JavaScript Fragile? (cfe)1535
How to Make a Cursor Image Hover Effect With CSS and JS1534
how-tos, css, images, cursors, hover
Control Lazy Load, Infinite Scroll, and Animations in React1533
react, lazy-loading, scrolling, animations
17 Equations That Changed the World—Rewritten in JavaScript1532
math
Syntax Highlighting Code Snippets With Prism and the Custom Highlight API (bra)1531
apis, css, syntax-highlighting
JavaScript Workers1530
videos, web-workers
JavaScript on Demand: How Qwik Differs From React Hydration1529
qwik, react, hydration, comparisons
Top 20 JavaScript One-Liners That Don’t Actually Work (dar)1528
Be Aware of Arrays—V8 Engine Advice1527
javascript-engines, v8, arrays
The ü/ü Conundrum1526
unicode, encoding
Offloading JavaScript With Custom Properties (hey)1525
css, custom-properties
Detect Caps Lock With JavaScript (dav)1524
In Praise of the “switch” Statement (chi)1523
Immutable Array Updates With “Array.prototype.with” (jad)1522
arrays, prototypes, browsers, support
JavaScript vs. Python: Which One Should You Learn First?1521
python, comparisons
JavaScript Promises Demystified (mar)1520
promises
From Many to One: Moving Our JavaScript Code Into a Monorepo1519
migrating, monorepos, git
Web Components in Earnest (dav)1518
web-components
What Is JSDoc and Why You May Not Need TypeScript for Your Next Project1517
typescript, documentation, jsdoc
The Bun Shell (jar/bun)1516
bun, shells
Navigating JavaScript Security: Recompiling Firefox to Bypass Anti-Debugger Techniques (gli)1515
security, debugging, firefox, browsers
Create a Currency Converter With HTML, CSS, and Vanilla JavaScript1514
functionality, html, css
Dispatching an Event (chr/fro)1513
events
JavaScript Array “sort()” vs. “toSorted()” (New in ES 2023)1512
videos, arrays, sorting, comparisons
Safely Accessing the DOM With Angular SSR1511
security, dom, angular, server-side-rendering
Difference Between “getElementByID” and “querySelector”1510
css, selectors
The Golden Rule of Assertions1509
testing
Web Component Gotcha: “constructor” vs. “connectedCallback” (nol)1508
web-components, callbacks, comparisons
JS Perf Wins and New Node.js Features With Yagiz Nizipli (wes+/syn)1507
podcasts, performance, nodejs, optimization
console.delight (zac/fro)1506
console, browsers, dev-tools, debugging
Introducing fsx: A Modern Filesystem API for JavaScript (nza)1505
introductions, file-handling, apis
Using CSS Houdini to Extend Styling and Layout Capabilities (log)1504
css, houdini, apis
Understanding Immutability in JavaScript1503
videos
Declaring Globals Isn’t That Hard (mat)1502
videos, typescript
Weird Things Engineers Believe About Web Development1501
standards, web-apps, building, web-platform
A Lot of What People Use React for Would Be Better Handled With Vanilla JavaScript (cfe)1500
react, simplicity
How to Use Template Literals in JavaScript (fre)1499
how-tos
Mastering Promises: 8 Advanced Tips and Techniques1498
promises, asynchronicity, techniques, tips-and-tricks
2024 Predictions by JavaScript Frontend Framework Maintainers1497
outlooks, frameworks, angular, nextjs, react, solidjs
Top 30 JavaScript Interview Questions and Answers for 20241496
interviewing
Top 30 JavaScript Interview Questions and Answers for 20251495
interviewing
10 Interview Questions Every JavaScript Developer Should Know in 2024 (eri)1494
interviewing, career, concepts, terminology
Let’s Bring Back JavaScript’s “with()” Statement (mac)1493
Making Sense of “Senseless” JavaScript Features (mon)1492
CSS-in-JS Approach: Advantages, Disadvantages, and Use Cases1491
css-in-js, css
I Built the Same App 7 Times: Which JS Framework Is Best?1490
frameworks, comparisons
JS Design Patterns: A Comprehensive Guide1489
guides, software-design-patterns
The Devil Is in the Details: A Look Into a Disclosure Widget Markup (its/mat)1488
html, disclosure-widgets, css
FileReader API (cla/5t3)1487
apis, file-handling
Custom Mouse Hover Effect With JavaScript1486
effects, hover
JavaScript Frameworks—Heading Into 2024 (rya/thi)1485
frameworks, outlooks
Classes vs. Prototypes in JavaScript (cfe)1484
prototypes, comparisons
10 Ways to Speed Up JavaScript Loading1483
performance, lazy-loading, minification, bundling, code-splitting, tree-shaking, modules, content-delivery, caching, compression, auditing
View Transitions (hui/5t3)1482
css, view-transitions
New JS Array Methods (cfe/5t3)1481
arrays, methods
Sharing a State Between Windows Without a Server1480
web-workers, apis, state-management, effects
Christmas Tree Animations Made With CSS and JS1479
css, animations, effects, link-lists
Introducing JavaScript Support in MySQL1478
introductions, databases, mysql, support
V8 Is Faster and Safer Than Ever1477
javascript-engines, v8, webassembly
Test-Driven HTML and Accessibility (mat)1476
html, accessibility, testing
Embrace the Platform (bra)1475
web-platform, html, css, resilience, progressive-enhancement, craft
Extending Responsive Video With HTML Web Components (sco/per)1474
multimedia, responsive-design, web-components
Asynchronous JavaScript—How to Use Promises in Your JS Code (fre)1473
how-tos, promises, asynchronicity
Behavior Belongs in the HTML1472
html, principles
“innerHTML” vs. “innerText” vs. “textContent”—What's the Difference? (fre)1471
dom, html, comparisons
The “await” Event Horizon in JavaScript (fro)1470
events
A List of JavaScript Engines, Runtimes, Interpreters1469
javascript-engines, runtimes, link-lists
The Last 5 Years of V8’s Garbage Collector (win)1468
javascript-engines, v8, garbage-collection, concurrency, history
Stop Nesting Ternaries in JavaScript (phi)1467
operators
Custom Events in Web Components (cfe)1466
web-components, events
How Marketing Changed OOP in JavaScript (mon/sma)1465
marketing, oop, software-design-patterns
Let’s Learn How Modern JavaScript Frameworks Work by Building One (nol)1464
frameworks, reactivity, rendering, dom
You Don’t Need JavaScript for That (kil/mat)1463
Fastest Way of Passing State to JavaScript, Re-Visited (kur/per)1462
state-management, performance
Web Components Eliminate JavaScript Framework Lock-In (jak)1461
web-components, frameworks, maintainability
Kicking the Excessive JavaScript Habit (mic)1460
performance, developer-experience, user-experience
10 JavaScript Changes You Missed in 2023 (fir)1459
videos, retrospectives
OOP Design Patterns in JavaScript1458
oop, software-design-patterns
State of JavaScript 2023 (sac/dev)1457
surveys
Top 10 Most Popular JavaScript Frameworks to Choose in 20241456
frameworks, react, angular, vuejs, nodejs, express, meteor, nextjs, emberjs, backbone, svelte
Demystifying Web Push Notifications1455
notifications
The Unbearable Weight of Massive JavaScript (rya/per)1454
videos, frameworks, performance
HTML Web Components Are Just JavaScript? (mia/odd)1453
web-components, html
Exploring V8’s Strings: Implementation and Optimizations (ili)1452
javascript-engines, v8, strings, optimization
What Is Transpiling in JavaScript?1451
videos, ecmascript, transpiling, babel
NaN or Not a Number? (mic)1450
ES6 Features You Didn’t Know You Needed: A JavaScript Guide for Beginners1449
guides
Handling Null, Undefined, and Zero Values in JavaScript (mic)1448
How to Use Timeouts in Node.js (app)1447
how-tos, time, nodejs
How to Use npm Packages Outside of Node1446
how-tos, npm, dependencies
How to Do a TypeScript Conversion1445
how-tos, typescript, migrating, conversion, refactoring
Blinded by the Light DOM (mey)1444
web-components, dom, shadow-dom
Personal-Scale Web Scraping for Fun and Profit1443
scraping, functionality, optimization
Speeding Up the JavaScript Ecosystem—Tailwind CSS (mar)1442
performance, tailwind
Why Signals Are Better Than React Hooks1441
videos, signals, react, hooks, comparisons
A Complete Guide to LangChain in JavaScript1440
guides, langchain, frameworks
Don’t Disable Buttons (cfe)1439
buttons, accessibility
Keep Pace With Modern JavaScript1438
link-lists
Arrays—Implementation in JavaScript1437
arrays
Web Components Will Outlive Your JavaScript Framework (jak)1436
web-components, frameworks
Changing Colors in an SVG Element Using CSS and JavaScript1435
svg, colors, css
JavaScript Anti-Pattern: Self-Documenting Code (cfe)1434
anti-patterns, documentation
JavaScript Is Enabled by Default in Web Browsers (jim)1433
web-platform, permissions
Unlocking JavaScript Design Patterns: Mastering Singleton for Ultimate Code Efficiency1432
software-design-patterns, efficiency
What Removing Object Properties Tells Us About JavaScript (mon/sma)1431
objects
JavaScript Decorators: An In-Depth Guide1430
guides
How to Map a Number Between Two Ranges (hen)1429
how-tos, math
Solid.js Creator Outlines Options to Reduce JavaScript Code1428
performance
Start Styling Your “console.log()” Messages in DevTools (zor/css)1427
videos, console, browsers, dev-tools
The Nuances of Base64 Encoding Strings in JavaScript1426
encoding, base64, unicode, strings
“JavaScript Is Weird” as a Compressor1425
compression
Let’s Prototype a JavaScript JIT Compiler1424
videos, compiling, prototyping
The Global “innerWidth” and “innerHeight” Properties Return the Width and Height of the Layout Viewport (sim)1423
viewport, interoperability, webkit
Speeding Up the JavaScript Ecosystem—the Barrel File Debacle (mar)1422
performance, architecture
How Did You Switch From JavaScript to TypeScript?1421
discussions, typescript, migrating
An Interactive Intro to CRDTs (jak)1420
introductions, types
Stop Publishing ESM-Only Packages, Do This Instead1419
modules, esm, commonjs
Your Website Does Not Need JavaScript (amy)1418
videos, support
Comparing JavaScript Bundlers: Rollup vs. Webpack vs. Parcel (kin)1417
bundling, tooling, rollup, webpack, parcel, comparisons
All the Ways to Turn an Array Into an Object in JavaScript (ami)1416
arrays, objects
Test Assertion Styles in JavaScript (isa)1415
testing
A Socket API That Works Across JavaScript Runtimes—Announcing a WinterCG Spec and Node.js Implementation of “connect()” (jas+)1414
runtimes, apis
A Comprehensive Guide to the Dangers of Regular Expressions in JavaScript (phi)1413
guides, security, regex
The Saga of the Closure Compiler, and Why TypeScript Won1412
google, compiling, typescript, history
What Is Transpiling?1411
ecmascript, transpiling, babel
Stop Using JS for That: Moving Features to CSS and HTML (kil)1410
videos, css, html
Mastering Closures in JavaScript: A Comprehensive Guide1409
guides, closures, scope
How to Escape CSS Selectors in JavaScript (ste)1408
how-tos, css, selectors, escaping
Speeding Up the JavaScript Ecosystem—Polyfills Gone Rogue (mar)1407
performance, polyfills
The Character Encoding Cheat Sheet for JS Developers (hon)1406
encoding, unicode, cheat-sheets
What Is Strict Mode in JavaScript?1405
The Great JavaScript Divide: CommonJS vs. ES Modules (abd)1404
modules, commonjs, esm, comparisons
What Can You Do With “data” Attributes? (cfe)1403
html, custom-data
Arrow Functions vs. Traditional Functions in JavaScript (cfe)1402
videos, functions, comparisons
Understanding the JavaScript Modulo Operator (jos)1401
math
The JS Community on Twitter Is Dead (hbu)1400
social-media, community
Writing Clean Code: Best Practices and Principles1399
best-practices, principles, conventions, formatting, maintainability
JavaScript Is Getting Array Grouping Methods (phi)1398
arrays, methods
Use Cases for IIFEs1397
JPEG and EXIF Data Manipulation in JavaScript1396
jpeg, metadata
Discover Bun—a Faster, Modern JavaScript Runtime1395
bun, runtimes
Bun, JavaScript, and TCO1394
bun, optimization
A New Method to Validate URLs in JavaScript (ste)1393
validation, urls
JavaScript WTF: Why Does “every()” Return “true” for Empty Arrays? (nza)1392
The “Array.prototype.every()” Method Always Returns “true” for an Empty Array (cfe)1391
arrays, prototypes
Delay, Sleep, Pause, and Wait in JavaScript1390
Binary Search Algorithm in JavaScript (fro)1389
algorithms, search
Using Labeled Loops in JavaScript1388
loops
Node.js vs. Deno vs. Bun: JavaScript Runtime Comparison1387
nodejs, deno, bun, runtimes, comparisons
Clocks and Countdowns: Timing in CSS and JavaScript (sto)1386
time, css
Visualizing Recursion With the Sierpinski Triangle1385
algorithms, visualization
Catching Errors Thrown From “connectedCallback” (nol)1384
web-components, errors
Scope vs. Shadow DOM (kei)1383
shadow-dom, dom, scope, css, comparisons
Patterns for Reactivity With Modern Vanilla JavaScript (fro)1382
reactivity
Adding a “Share to Mastodon” Link to Any Web Site (cod)1381
social-media, links, mastodon, community
Demystifying CORS: Understanding How Cross-Origin Resource Sharing Works1380
security, cors
A Better “setTimeout()” in JavaScript (ami)1379
time
A Guide to Optimizing JavaScript Files1378
guides, performance, optimization, minification, compression
Progressively Enhanced Form Validation: Layering in JavaScript (ger/clo)1377
forms, validation, progressive-enhancement
An Intro to State-Based UI With JavaScript (cfe)1376
introductions, state-management
A Compilation of Outstanding Testing Articles (With JavaScript)1375
link-lists, testing
Prepare to Spy on a Method Added Dynamically (bah)1374
videos, cypress, testing, debugging
Evading JavaScript Anti-Debugging Techniques (voi)1373
debugging
Front End Practice: Top 25+ JavaScript Code Best Practices for Development1372
best-practices
Run JavaScript/Wasm in Python: High-Level SpiderMonkey Bindings to Python With PythonMonkey1371
webassembly, python, spidermonkey
Speeding Up V8 Heap Snapshots (jda)1370
javascript-engines, v8, performance, memory
Combining Data With Multiple Fetch Requests (ste)1369
arrays, data-fetching
Promises Training1368
promises, training, courses
10 Simple CSS and JavaScript Micro-Interactions for Buttons1367
css, buttons, effects
Anyone Else Notice That [Hacker News] Isn’t Full of JavaScript Frameworks Lately?1366
discussions, frameworks
5 Inconvenient Truths About TypeScript (dea)1365
typescript, complexity
Lightweight JavaScript Framework Review (for Django Developers)1364
frameworks, comparisons, link-lists, django
A Case Study on Scroll-Driven Animations Performance1363
animations, scrolling, performance, css
JavaScript Debounce, Easiest Explanation (With Code)1362
debouncing
Tree Shaking in JavaScript1361
performance, tree-shaking
All the Places Where You Can Use “prefers-color-scheme” Media Query (ami)1360
css, media-queries, html, dark-mode
In Defence of “DOMContentLoaded” (css)1359
dom, performance
CommonJS Is Hurting JavaScript (den)1358
commonjs
JavaScript Gom Jabbar1357
JavaScript Console Methods: A Deep Dive1356
console, methods, debugging, deep-dives
Demystifying JavaScript Operators: What Does That Symbol Mean?1355
operators
What’s Next for JavaScript: New Features to Look Forward To1354
An Introduction to Command Injection Vulnerabilities in Node.js and JavaScript1353
introductions, security, vulnerabilities, nodejs
Converting [a] JavaScript Codebase to TypeScript1352
typescript, migrating, refactoring
The Cost of JavaScript 2023 (add)1351
videos, performance
Using Multiple Selectors With JavaScript Selector Methods (cfe)1350
selectors, methods
Too Much JavaScript? Why the Frontend Needs to Build Better1349
web-platform, performance
Import Maps to Natively Import JavaScript Modules Using Bare Names (ami)1348
import-maps
Must Know JavaScript API—IndexedDB API1347
databases, indexeddb, apis
Reducing Complexity in Front End Development (mic)1346
complexity, performance, css
Primitive Objects in JavaScript: When to Use Them (sma)1345
objects
test262.fyi1344
websites, ecmascript, javascript-engines, v8, javascriptcore, spidermonkey, quickjs, chakracore
The Many Ways to Select the n-th Character From a String (cod)1343
strings
Why We Should Stop Using JavaScript According to Douglas Crockford (dou)1342
videos
Asynchronous JavaScript for Beginners1341
asynchronicity
How to Format a Date With JavaScript—Date Formatting in JS (fre)1340
how-tos, time
I Think I Finally “Get” JS Objects1339
objects
21 Awesome Web Features You’re Not Using Yet (fir)1338
videos, html, css
An Introduction to JavaScript Proxies (cra)1337
introductions
Cracking the Theme Switcher and Dark Mode1336
css, dark-mode
Plain Old JavaScript and the DOM (dou)1335
dom
Why Does “👩🏾‍🌾” Have a Length of 7 in JavaScript?1334
unicode
How to Draw Any Regular Shape With Just One JavaScript Function (mdn)1333
how-tos, functions
Working With URLs With Vanilla JavaScript (cfe)1332
urls
Building Offline-First Web Applications With Service Workers and IndexedDB1331
offline, web-apps, web-workers, databases, indexeddb
Using “linear()” for Better Animation (oll)1330
animations, css
Write Better Code by Following These JavaScript Best Practices1329
best-practices
Getting an Item an Array With a Negative Index With Modern JavaScript (cfe)1328
arrays
Get Full Type Support With Plain JavaScript1327
Regular Expressions in JavaScript (hon)1326
regex, examples
The JavaScript Ecosystem Is Delightfully Weird (sam/fly)1325
An Introduction to the Bun JavaScript Runtime (cra)1324
runtimes, bun
ES2023 Introduces New Array Copying Methods to JavaScript (phi)1323
ecmascript, standards, arrays
Script Evaluation and Long Tasks (mal)1322
performance, web-vitals
How to Configure Path Aliases in Frontend Projects in the Native Way1321
how-tos, aliases, configuration
How Do You Declare Namespace in JavaScript?1320
namespaces
Detecting if an Event Was Triggered by a User or by JavaScript (pau/clo)1319
events
How to Write More Efficient JavaScript Conditions (fre)1318
how-tos, efficiency
The Native Way to Configure Path Aliases in Frontend Projects1317
nodejs, esm, commonjs, tooling, aliases
Practical Guide to Not Blocking the Event Loop1316
guides, event-loop, events, performance
My Favorite Free Courses to Learn JavaScript in Depth1315
courses, training, link-lists
JS Private Class Fields Considered Harmful (lea)1314
Write Better CSS by Borrowing Ideas From JavaScript Functions (sma)1313
css, functions, quality
How to Deep Merge Arrays and Objects With JavaScript (cfe)1312
how-tos, arrays, objects
Discovering the Power of JavaScript Proxy After All This Time1311
The “const” Deception (jos)1310
Exploring the Potential of Web Workers for Multithreading on the Web (sma)1309
web-workers, multithreading, performance
Read-Only Web Apps (ada)1308
progressive-enhancement
Introduction to Web Animations With GSAP1307
introductions, animations, gsap
Signals: Fine-Grained Reactivity for JavaScript Frameworks1306
reactivity, signals, frameworks
Speeding Up the JavaScript Ecosystem—Draft-js Emoji Plugin (mar)1305
performance, plugins
Consume Web Streams From OpenAI Using Vanilla JavaScript1304
videos, data-fetching, streaming, ai, openai
4 Ways to Create an Enum in JavaScript1303
How to Work With Dates and Times in Vanilla JavaScript (cfe)1302
how-tos
Shallow vs. Deep Copying in JavaScript1301
comparisons
Boost Your JavaScript With JSDoc Typing1300
typescript, documentation, jsdoc
Programming-Language Popularity by GitHub Pull Requests (lem)1299
studies, research, programming, comparisons, github, typescript
Observing CSS1298
css, monitoring
Designing for Reduced Motion1297
accessibility, animations, reduced-motion, css, media-queries
JavaScript Memory Management: A Comprehensive Guide to Garbage Collection in JavaScript1296
guides, memory, garbage-collection
A Small JavaScript Pattern I Enjoy Using (kil)1295
Copy to Clipboard in JavaScript and React1294
react
Why JavaScript Is a Prototype-Based OOP1293
oop
What Are Source Maps? (jec)1292
videos, debugging, source-maps
JavaScript Import Maps Are Now Supported Cross-Browser (tom)1291
import-maps, browsers, support
Defaulting on Single Page Applications (SPA) (zac)1290
single-page-apps, performance
Mastering the JavaScript “switch” Statement1289
The State of JS Frameworks (cfe/log)1288
podcasts, frameworks, libraries
File Uploads for the Web: Upload Files With JavaScript (aus)1287
file-handling
With or Without the JS Framework (cit)1286
frameworks, career
Speeding Up the JavaScript Ecosystem—npm Scripts (mar)1285
performance, bundling, npm
Unexpected Moments of JavaScript That Will Challenge Your Understanding of the Language1284
Time to Move on From Nunjucks? (bry)1283
template-engines, nunjucks, webc, liquid
JavaScript Polyfills1282
polyfills
JavaScript for Beginners: Data Structures1281
data-structures, arrays, objects
Progressively Enhancing a Table With a Web Component (ray)1280
html, tables, web-components, progressive-enhancement
JavaScript: Automatically Remove an Event Listener After It Has Executed1279
events
The Ternary Operator in JavaScript (cfe)1278
operators
Create and Download Text Files Using JavaScript (ami)1277
Evolving Custom Sliders (sib/tpg)1276
sliders, css
All JavaScript and TypeScript Features From the Last 3 Years1275
typescript, history
Change Favicon on Switching Browser Tabs in JavaScript (ami)1274
images, favicons
ARIA Live Regions for JavaScript Frameworks (its/log)1273
accessibility, aria, live-regions, frameworks
10 Helpful JavaScript Utility Functions1272
functions
Client-Side JavaScript and React Criticism: What Comes Next? (mol)1271
react, accessibility, performance, resilience, progressive-enhancement
Making the Case for Signals in JavaScript (rya/thi)1270
signals
React vs. Signals: 10 Years Later (rya/thi)1269
react, signals, comparisons, retrospectives
What Is Hoisting in JavaScript? (fro)1268
scope, concepts
The Coolest JavaScript Features From the Last 5 Years1267
retrospectives
The Evolution of Signals in JavaScript (rya/thi)1266
signals
Dithering Images With React/JavaScript1265
images, dithering, react
Debugging JavaScript Like a Pro: Tools and Techniques for Finding and Fixing Bugs1264
debugging, tooling, techniques, bugs
All About Promises in JavaScript1263
promises
Experiments With the JavaScript Garbage Collector1262
garbage-collection, experiments
How to Handle Date and Time With JavaScript (sta)1261
how-tos, time
The Great Gaslighting of the JavaScript Era (jar)1260
frameworks, web-platform
When JavaScript Fails (jas)1259
The State of JS Frameworks (rya+)1258
podcasts, frameworks
Encapsulating CSS With Shadow DOM1257
shadow-dom, dom, css
Writing JavaScript Without a Build System (b0r)1256
building
Is It Worth Learning JavaScript? Popularity, Salaries, and Future (sta)1255
career
The User Activation API (mar/web)1254
apis
Well-Known Symbols1253
Change Tab Bar Color Dynamically Using JavaScript (ami)1252
colors, theming, browsers
So, What’s Next [for core-js]?1251
foss, community, economics
This Is Why Performance Matters (bel)1250
performance, user-experience
Rethinking the Modern Web1249
web-platform, tooling
Sandboxing JavaScript Code1248
security
Discovering Primitive Objects in JavaScript (sma)1247
objects
The Case for Frameworks (sel)1246
frameworks, web-platform
Use Maps More and Objects Less (ste/bui)1245
objects
Table of Contents Progress Animation (kev)1244
html, css, animations, progress-indicators
Speeding Up the JavaScript Ecosystem—ESLint (mar)1243
performance, eslint, linting
The Market for Lemons (sli)1242
web-platform, frameworks
Rotating Gallery With CSS Scroll-Driven Animations (jhe)1241
html, css, animations, scrolling
Multi-Threaded React App Using useWorker1240
multithreading, react, web-workers
How to Get the Last Matching Item in an Array With Vanilla JavaScript (cfe)1239
how-tos, arrays
The YAML Document From Hell—JavaScript Edition (phi)1238
yaml
Cancel Duplicate Fetch Requests in JavaScript Enhanced Forms (aus)1237
data-fetching
The Ultimate Guide to JavaScript Error Handling (cra)1236
guides, errors
Using Local Storage in JavaScript and React1235
react, browser-storage
You’ve Got Options for Removing Event Listeners (mac)1234
events
10 GitHub Repositories You Should Know as a JavaScript Developer1233
cheat-sheets, best-practices, link-lists, github
Accessible Hamburger Buttons Without JavaScript1232
accessibility, navigation
Flow Control in JavaScript: Callbacks, Promises, “async”/“await” (cra)1231
callbacks, promises, asynchronicity
10 Web Development Trends in 2023 (rwi)1230
trends, frameworks, tooling, monorepos, presentational-html, ai, code-completion
“scrollend”, a New JavaScript Event (arg)1229
events
Is CSS-in-JS Actually Bad? (may)1228
css, css-in-js
So You Want to Make a New JS Framework (dav)1227
frameworks
Deep Cloning Objects in JavaScript, the Modern Way (ste/bui)1226
objects
Promises, Thenables, and Lazy-Evaluation: What, Why, How (aus)1225
promises
A Better Way to Work With Number and Date Inputs in JavaScript (ste/bui)1224
Advanced Usage Patterns for Taking Page Element Screenshots With Playwright1223
screenshots, images, playwright
Speeding Up the JavaScript Ecosystem—Module Resolution (mar)1222
performance, modules, esm, commonjs
Four Ways to Chop Up Arrays (with Vanilla JavaScript) (cfe)1221
arrays
JavaScript, Community (zac)1220
community
The Gotcha of Unhandled Promise Rejections (jaf)1219
promises
The State of JavaScript 2022 [Results] (sac/dev)1218
surveys, metrics