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 and included. Hide

Frontend Dogma

“javascript” News Archive (2)

Entry (Sources) and Additional TopicsDate#
Line Numbers for “<textarea>” Using SVG (sto)1,647
forms, svg
Using JavaScript Generators to Visualize Algorithms1,646
algorithms, visualization
Good Refactoring vs. Bad Refactoring (ste/bui)1,645
refactoring, comparisons, maintenance, quality
Reckoning: The Way Out (sli)1,644
performance, metrics, hiring
How I Won $2,750 Using JavaScript, AI, and a Can of WD-401,643
ai
Reckoning: Caprock (sli)1,642
performance
Reckoning: Object Lesson (sli)1,641
performance, metrics
Reckoning: The Landscape (sli)1,640
performance, metrics, mobile
12 Best JavaScript Animation Libraries to Supercharge Your Web Projects in 20241,639
animations, libraries, link-lists
Common Causes of Memory Leaks in JavaScript (tre)1,638
memory, garbage-collection
Exploring the Possibilities of Native JavaScript Decorators (fro)1,637
software-design-patterns
The Art of Dithering and Retro Shading for the Web (max)1,636
dithering, effects
Should Your Website Work Without JavaScript? (wes/syn)1,635
videos, support
Who Is the Fastest? Node.js, Bun.js, or Deno.js (tre)1,634
performance, runtimes, nodejs, bun, deno, comparisons
A Handful of Reasons JavaScript Won’t Be Available (bel/pic)1,633
support
Reading From the Clipboard in JavaScript (ray/fro)1,632
How Google Handles JavaScript Throughout the Indexing Process1,631
google, seo, web-apps, history, rendering
Garbage Collection and Closures (jaf)1,630
functions, closures, garbage-collection
Patterns for Memory Efficient DOM Manipulation With Modern Vanilla JavaScript (fro)1,629
memory, dom, software-design-patterns
Top 20 JavaScript Tricks and Tips for Every Developer1,628
tips-and-tricks
Is It Okay to Make “connectedCallback” Async? (nol)1,627
callbacks, asynchronicity, web-components
V8 JavaScript Engine: Let’s Read the Code (ant)1,626
videos, v8, javascript-engines
Benchmarking AWS Lambda Cold Starts Across JavaScript Runtimes (den)1,625
deno, aws, serverless, lambda, runtimes, performance, comparisons
The User Location Is a Lie (aus)1,624
geolocation, apis
Rust Is Revolutionizing JavaScript Development1,623
bundling, tooling, rust
Understanding AbortController in Node.js: A Complete Guide (bet)1,622
guides, nodejs
Math4Devs1,621
websites, math
Learn Web Components (and)1,620
websites, courses, web-components, html, css, dom
What’s New for JavaScript Developers in ECMAScript 20241,619
ecmascript, standards, promises, unicode, webassembly
How to Create Fake Back-End Using IndexedDB1,618
how-tos, databases, indexeddb, browser-storage
Better Ways to Use Async Functions in JavaScript1,617
asynchronicity, functions, promises
So You Think You Know Box Shadows?1,616
shadows
Don’t Use JS for That: Moving Features to CSS and HTML (kil/jsc)1,615
videos, css, html
Summary of the June 2024 TC39 Plenary in Helsinki (iga)1,614
ecmascript
JavaScript Event Loop: A Deep Dive1,613
event-loop, events, deep-dives
How Fast Is JavaScript? Simulating 20,000,000 Particles1,612
performance
Speeding Up the JavaScript Ecosystem—Isolated Declarations (mar)1,611
performance, typescript
Script Integrity (chr/fro)1,610
embed-code, security
How to Parse HTML in JavaScript (api)1,609
how-tos, parsing, html
WebAssembly vs. JavaScript: A Comparison1,608
webassembly, comparisons
How to Annul Promises in JavaScript1,607
how-tos, promises
Integrate Go Library Into a JavaScript Webpage With WebAssembly (td8)1,606
go, webassembly
Browser Support Tests in JavaScript for Modern Web Features (chr/fro)1,605
browsers, support, feature-detection
Event Loop and Concurrency Model–Task Queue—How the JS Engine Works (fro)1,604
javascript-engines, event-loop, concurrency
Advanced JavaScript Performance Optimization: Techniques and Patterns1,603
performance, optimization, techniques, software-design-patterns
New JavaScript Set Methods (bsm/mdn)1,602
methods
7 Use Cases for JavaScript Proxies1,601
Exploring Randomness in JavaScript1,600
randomness
No No-JavaScript (dbu)1,599
css, support, progressive-enhancement, graceful-degradation
Uniting Web and Native Apps With 4 Unknown JavaScript APIs (mon/sma)1,598
web-apps, native, apis
State of JavaScript 2023 [Results] (sac+/dev)1,597
surveys, metrics
A Rant About Front-End Development1,596
content, html, css, preprocessors, frameworks, complexity
Positioning Popover Elements (Pseudo-Anchoring) (chr)1,595
pop-overs, positioning
Footnotes Progressively Enhanced to Popovers (chr/fro)1,594
footnotes, pop-overs, progressive-enhancement, css
Say “No” to “console.log”!1,593
console
Dealing With Unicode Strings, Done Right and Better1,592
unicode
Mastering JavaScript Generators1,591
functions
Safari 18—What Web Features Are Usable Across Browsers? (ste)1,590
browsers, apple, safari, support, interoperability, css
UUIDv7 in 22 Languages (ant)1,589
programming, python, sql, shells, java, php, go, rust, ruby, lua, dart, perl, clojure
How JavaScript Is Finally Improving the Module Experience (mar)1,588
modules, esm, commonjs, developer-experience, webassembly
Every Website and Web App Should Have a Service Worker (cfe)1,587
web-workers
Weak Memoization in JavaScript1,586
memoization
How to Compose JavaScript Functions That Take Multiple Parameters (The Epic Guide) (jrs)1,585
guides, how-tos, functions
Refactoring a Scroll-Driven Animation From JavaScript to CSS (and)1,584
refactoring, scrolling, animations, css
Comprehensive Guide to Debouncing in JavaScript: Improve Your Code Efficiency1,583
guides, debouncing, efficiency
Rust Growing Fastest, but JavaScript Reigns Supreme1,582
programming, comparisons, rust, go, lua, dart, java, ruby, php, python
The Ultimate Guide to Iframes (log)1,581
guides, iframes, html, security
Control JavaScript Promises From Anywhere Using “Promise.withResolvers()” (fro)1,580
promises
Your Node Is Leaking Memory? “setTimeout” Could Be the Reason (mit)1,579
nodejs, memory, time, garbage-collection
Generating ZIP Files With JavaScript1,578
code-generation
How a Single Vulnerability Can Bring Down the JavaScript Ecosystem1,577
npm, dependencies, caching, vulnerabilities, security
Promises From the Ground Up (jos)1,576
promises
A Practical Guide Against Barrel Files for Library Authors1,575
guides, libraries, anti-patterns
es-toolkit1,574
libraries
Why We Don’t Have a Laravel for JavaScript… Yet1,573
laravel
Your Site or App Should Work as Much as Possible Without JavaScript (cfe)1,572
resilience, graceful-degradation
A Little DevTools Snippet to Check Broken Links on a Webpage (ami)1,571
browsers, dev-tools, link-rot, testing
The Long Path of JavaScript—from ES6 Until Today1,570
ecmascript, history
Notes on Implementing Dark Mode1,569
dark-mode, tailwind
A Primer on JavaScript Proxies (cfe)1,568
introductions
CodeFlattener1,567
packages, npm
A JavaScript Developer Tries Go for the First Time1,566
go
Comprehensive Guide to JavaScript Performance Analysis Using Chrome DevTools1,565
guides, performance, debugging, browsers, google, chrome, dev-tools
Navigating the JavaScript Framework Ecosystem (add)1,564
videos, frameworks
JavaScript Security: Simple Practices to Secure Your Frontend1,563
security, dependencies, csp
JavaScript Objects—Complete Guide1,562
guides, objects
How to Document Your JavaScript Package (den)1,561
how-tos, dependencies, documentation, writing, jsdoc, readme
Using the Page Visibility API (bsm/mdn)1,560
apis
Five Basic Things About JavaScript That Will Help Non JavaScript-Focused Web Designers (chr/fro)1,559
events, web-components
JavaScript “var”, “let”, and “const” Explained (cfe+)1,558
Why Patching Globals Is Harmful1,557
programming
Securing Client-Side JavaScript (ada)1,556
security, graceful-degradation
At Some Point, JavaScript Got Good1,555
history
Celebrate JavaScript Naked Day Every Year on April 24 (zac)1,554
awareness-days
How to Escape JavaScript for a Script Tag1,553
how-tos, escaping, html
The Problem With “new URL()”, and How “URL.parse()” Fixes That (kil)1,552
urls
JavaScript Features That Most Developers Don’t Know1,551
functions
April 24 Is JS Naked Day (j9t)1,550
awareness-days
Detect JavaScript Support (fon/css)1,549
css, media-queries, support
Detect JavaScript Support in CSS (hex)1,548
css, media-queries, support
My Code Formatting Guidelines (val)1,547
guidelines, formatting, conventions, html, prettier, configuration
The “Intl.Segmenter” Object Is Now Part of Baseline (rac)1,546
browsers, support, web-platform
Converting Plain Text to Encoded HTML With Vanilla JavaScript (sma)1,545
conversion, html
JavaScript Code Quality Tools: See Qodana in Action1,544
jetbrains, qodana, quality
CSS in React Server Components (jos)1,543
css, react, components, css-in-js
Interview With Senior JS Developer 20241,542
videos, interviews, frameworks, libraries, tech-stacks, tooling, web-platform
Introducing JS Naked Day (mac)1,541
introductions, awareness-days
Accessible Interactions in JavaScript Apps (san)1,540
videos, accessibility, aria
Let Me Be1,539
videos
JS Naked Day (mac+)1,538
websites, awareness-days
How to Make Your Website Work Offline1,537
how-tos, web-workers, offline
JavaScript Visualized—Event Loop, Web APIs, (Micro)task Queue1,536
videos, visualization, event-loop, events, apis
Learn JavaScript (wil)1,535
courses
10 JavaScript Sites Every Web Developer Should Know1,534
learning, link-lists
Object Structure in JavaScript Engines1,533
objects, javascript-engines
The Easy Way to Access the Last JavaScript Array Element1,532
arrays
A Guide to Building CLI Tools in JavaScript1,531
guides, tooling, command-line, nodejs
Finally Understanding How “Array.sort(comparator)” Works (jam)1,530
arrays
History of JS Interop in Dart1,529
dart, interoperability, history
Iterator Helpers1,528
ecmascript, javascript-engines, v8
Setting and Persisting Color Scheme Preferences With CSS and a “Touch” of JavaScript (ole/sma)1,527
colors, dark-mode, css
Incredible JavaScript Animation Libraries1,526
animations, libraries, link-lists
JavaScript Visualized: Promise Execution1,525
promises, visualization
Optimizing JavaScript for Fun and for Profit1,524
optimization
A Comparison of JavaScript CRDTs (alm)1,523
types, comparisons
Copy Objects Ways in JavaScript1,522
objects
25 Unnoticeable Features of JavaScript1,521
Another JS Registry—Seriously?! (den)1,520
videos, jsr, dependencies
How to Read Files Quickly in JavaScript (lem)1,519
how-tos, file-handling
Spread vs. Rest Operators in JavaScript1,518
operators, comparisons
5 Exciting New JavaScript Features in 20241,517
Comparing JavaScript Frameworks: Templates1,516
frameworks, templates, comparisons
Things I Learned While Building My JS Library1,515
libraries, lessons
JavaScript Runs the World—Maybe Even Literally (wir)1,514
programming, web
The Faster Lambda Runtime—Node.js or LLRT? We Benchmarked1,513
aws, lambda, runtimes, nodejs, comparisons, metrics
Eloquent JavaScript (mar)1,512
websites, books
Introducing JSR—the JavaScript Registry (lca+/den)1,511
introductions, jsr, deno, dependencies
TIL—“submit()” Versus “requestSubmit()” (ray)1,510
comparisons
A Fun Line of Code (dbu)1,509
apis, multimedia
What Is a Single-Page Application? (hey)1,508
single-page-apps, performance, user-experience
Filling Gaps With a Polyfill (jay)1,507
polyfills, html, css, history
JSR: What We Know So Far About Deno’s New JavaScript Package Registry (sar/soc)1,506
jsr, deno, dependencies
Vanilla JavaScript, Libraries, and the Quest for Stateful DOM Rendering (sma)1,505
libraries, client-side-rendering, state-management
JavaScript Bloat in 2024 (nik)1,504
performance
How to Use Local Storage in JavaScript (fre)1,503
how-tos, browser-storage
“random()” Distribution Visualizer1,502
randomness, visualization
Why Is JavaScript Fragile? (cfe)1,501
How to Make a Cursor Image Hover Effect With CSS and JS1,500
how-tos, css, images, cursors, hover
Control Lazy Load, Infinite Scroll, and Animations in React1,499
react, lazy-loading, scrolling, animations
17 Equations That Changed the World—Rewritten in JavaScript1,498
math
Syntax Highlighting Code Snippets With Prism and the Custom Highlight API (bra)1,497
apis, css, syntax-highlighting
JavaScript on Demand: How Qwik Differs From React Hydration1,496
qwik, react, hydration, comparisons
JavaScript Workers1,495
videos, web-workers
Top 20 JavaScript One-Liners That Don’t Actually Work (dar)1,494
Be Aware of Arrays—V8 Engine Advice1,493
javascript-engines, v8, arrays
The ü/ü Conundrum1,492
unicode, encoding
Offloading JavaScript With Custom Properties (hey)1,491
css, custom-properties
Detect Caps Lock With JavaScript (dav)1,490
In Praise of the “switch” Statement (chi)1,489
JavaScript Promises Demystified1,488
promises
Immutable Array Updates With “Array.prototype.with” (jad)1,487
arrays, prototypes, browsers, support
JavaScript vs. Python: Which One Should You Learn First?1,486
python, comparisons
From Many to One: Moving Our JavaScript Code Into a Monorepo1,485
migrating, monorepos, git
Web Components in Earnest (dav)1,484
web-components
What Is JSDoc and Why You May Not Need TypeScript for Your Next Project1,483
typescript, documentation, jsdoc
Navigating JavaScript Security: Recompiling Firefox to Bypass Anti-Debugger Techniques (gli)1,482
security, debugging, firefox, mozilla, browsers
The Bun Shell (jar/bun)1,481
bun, shells
Create a Currency Converter With HTML, CSS, and Vanilla JavaScript1,480
functionality, html, css
Dispatching an Event (chr/fro)1,479
events
JavaScript Array “sort()” vs. “toSorted()” (New in ES 2023)1,478
videos, arrays, sorting, comparisons
Safely Accessing the DOM With Angular SSR1,477
security, dom, angular, server-side-rendering
Difference Between “getElementByID” and “querySelector”1,476
css, selectors
The Golden Rule of Assertions1,475
testing
Web Component Gotcha: “constructor” vs. “connectedCallback” (nol)1,474
web-components, callbacks, comparisons
JS Perf Wins and New Node.js Features With Yagiz Nizipli (wes+/syn)1,473
podcasts, performance, nodejs, optimization
console.delight (zac/fro)1,472
console, browsers, dev-tools, debugging
Introducing fsx: A Modern Filesystem API for JavaScript (nza)1,471
introductions, file-handling, apis
Using CSS Houdini to Extend Styling and Layout Capabilities (log)1,470
css, houdini, apis
Understanding Immutability in JavaScript1,469
videos
Declaring Globals Isn’t That Hard (mat)1,468
videos, typescript
Weird Things Engineers Believe About Web Development1,467
standards, web-apps, building, web-platform
A Lot of What People Use React for Would Be Better Handled With Vanilla JavaScript (cfe)1,466
react, simplicity
How to Use Template Literals in JavaScript (fre)1,465
how-tos
Mastering Promises: 8 Advanced Tips and Techniques1,464
promises, asynchronicity, techniques, tips-and-tricks
2024 Predictions by JavaScript Frontend Framework Maintainers (low)1,463
outlooks, frameworks, angular, nextjs, react, solidjs
Top 30 JavaScript Interview Questions and Answers for 20241,462
interviewing
Top 30 JavaScript Interview Questions and Answers for 20251,461
interviewing
10 Interview Questions Every JavaScript Developer Should Know in 2024 (eri)1,460
interviewing, career, concepts, terminology
Let’s Bring Back JavaScript’s “with()” Statement (mac)1,459
Making Sense of “Senseless” JavaScript Features (mon)1,458
CSS-in-JS Approach: Advantages, Disadvantages, and Use Cases1,457
css-in-js, css
I Built the Same App 7 Times: Which JS Framework Is Best?1,456
frameworks, comparisons
JS Design Patterns: A Comprehensive Guide1,455
guides, software-design-patterns
The Devil Is in the Details: A Look Into a Disclosure Widget Markup (its/mat)1,454
html, disclosure-widgets, css
FileReader API (cla/5t3)1,453
apis, file-handling
Custom Mouse Hover Effect With JavaScript1,452
effects, hover
JavaScript Frameworks—Heading Into 2024 (rya/thi)1,451
frameworks, outlooks
Classes vs. Prototypes in JavaScript (cfe)1,450
prototypes, comparisons
10 Ways to Speed Up JavaScript Loading1,449
performance, lazy-loading, minification, bundling, code-splitting, tree-shaking, modules, content-delivery, caching, compression, auditing
View Transitions (hui/5t3)1,448
css, view-transitions
New JS Array Methods (cfe/5t3)1,447
arrays, methods
Sharing a State Between Windows Without a Server1,446
web-workers, apis, state-management, effects
Christmas Tree Animations Made With CSS and JS1,445
css, animations, effects, link-lists
Introducing JavaScript Support in MySQL1,444
introductions, databases, mysql, support
V8 Is Faster and Safer Than Ever1,443
javascript-engines, v8, webassembly
Test-Driven HTML and Accessibility (mat)1,442
html, accessibility, testing
Embrace the Platform (bra)1,441
web-platform, html, css, resilience, progressive-enhancement, craft
Extending Responsive Video With HTML Web Components (sco/per)1,440
multimedia, responsive-design, web-components
Asynchronous JavaScript—How to Use Promises in Your JS Code (fre)1,439
how-tos, promises, asynchronicity
Behavior Belongs in the HTML1,438
html, principles
“innerHTML” vs. “innerText” vs. “textContent”—What's the Difference? (fre)1,437
dom, html, comparisons
The “await” Event Horizon in JavaScript (fro)1,436
events
A List of JavaScript Engines, Runtimes, Interpreters1,435
javascript-engines, runtimes, link-lists
Stop Nesting Ternaries in JavaScript (phi)1,434
operators
The Last 5 Years of V8’s Garbage Collector (win)1,433
javascript-engines, v8, garbage-collection, concurrency, history
Custom Events in Web Components (cfe)1,432
web-components, events
How Marketing Changed OOP in JavaScript (mon/sma)1,431
marketing, oop, software-design-patterns
Let’s Learn How Modern JavaScript Frameworks Work by Building One (nol)1,430
frameworks, reactivity, rendering, dom
You Don’t Need JavaScript for That (kil/mat)1,429
Fastest Way of Passing State to JavaScript, Re-Visited (kur/per)1,428
state-management, performance
Web Components Eliminate JavaScript Framework Lock-In (jak)1,427
web-components, frameworks, maintainability
Kicking the Excessive JavaScript Habit (mic)1,426
performance, developer-experience, user-experience
10 JavaScript Changes You Missed in 2023 (fir)1,425
videos, retrospectives
OOP Design Patterns in JavaScript1,424
oop, software-design-patterns
State of JavaScript 2023 (sac/dev)1,423
surveys
Top 10 Most Popular JavaScript Frameworks to Choose in 20241,422
frameworks, react, angular, vuejs, nodejs, express, meteor, nextjs, emberjs, backbone, svelte
Demystifying Web Push Notifications1,421
notifications
The Unbearable Weight of Massive JavaScript (rya/per)1,420
videos, frameworks, performance
HTML Web Components Are Just JavaScript? (mia/odd)1,419
web-components, html
Exploring V8’s Strings: Implementation and Optimizations (ili)1,418
javascript-engines, v8, strings, optimization
What Is Transpiling in JavaScript?1,417
videos, ecmascript, transpiling, babel
ES6 Features You Didn’t Know You Needed: A JavaScript Guide for Beginners1,416
guides
NaN or Not a Number? (mic)1,415
How to Use Timeouts in Node.js (app)1,414
how-tos, time, nodejs
Handling Null, Undefined, and Zero Values in JavaScript (mic)1,413
How to Use npm Packages Outside of Node1,412
how-tos, npm, dependencies
How to Do a TypeScript Conversion1,411
how-tos, typescript, migrating, conversion, refactoring
Blinded by the Light DOM (mey)1,410
web-components, dom, shadow-dom
Personal-Scale Web Scraping for Fun and Profit1,409
scraping, functionality, optimization
Speeding Up the JavaScript Ecosystem—Tailwind CSS (mar)1,408
performance, tailwind
Why Signals Are Better Than React Hooks1,407
videos, signals, react, hooks, comparisons
A Complete Guide to LangChain in JavaScript1,406
guides, langchain, frameworks
Don’t Disable Buttons (cfe)1,405
buttons, accessibility
Keep Pace With Modern JavaScript1,404
link-lists
Arrays—Implementation in JavaScript1,403
arrays
Web Components Will Outlive Your JavaScript Framework (jak)1,402
web-components, frameworks
Changing Colors in an SVG Element Using CSS and JavaScript1,401
svg, colors, css
JavaScript Anti-Pattern: Self-Documenting Code (cfe)1,400
anti-patterns, documentation
JavaScript Is Enabled by Default in Web Browsers (jim)1,399
web-platform, permissions
Unlocking JavaScript Design Patterns: Mastering Singleton for Ultimate Code Efficiency1,398
software-design-patterns, efficiency
What Removing Object Properties Tells Us About JavaScript (mon/sma)1,397
objects
JavaScript Decorators: An In-Depth Guide1,396
guides
How to Map a Number Between Two Ranges (hen)1,395
how-tos, math
Solid.js Creator Outlines Options to Reduce JavaScript Code (low)1,394
performance
Start Styling Your “console.log()” Messages in DevTools (zor/css)1,393
videos, console, browsers, dev-tools
The Nuances of Base64 Encoding Strings in JavaScript1,392
encoding, base64, unicode, strings
“JavaScript Is Weird” as a Compressor1,391
compression
Let’s Prototype a JavaScript JIT Compiler1,390
videos, compiling, prototyping
The Global “innerWidth” and “innerHeight” Properties Return the Width and Height of the Layout Viewport (sim)1,389
viewport, interoperability, webkit
Speeding Up the JavaScript Ecosystem—the Barrel File Debacle (mar)1,388
performance, architecture
How Did You Switch From JavaScript to TypeScript?1,387
discussions, typescript, migrating
An Interactive Intro to CRDTs (jak)1,386
introductions, types
Your Website Does Not Need JavaScript (amy)1,385
videos, support
Comparing JavaScript Bundlers: Rollup vs. Webpack vs. Parcel (kin)1,384
bundling, tooling, rollup, webpack, parcel, comparisons
All the Ways to Turn an Array Into an Object in JavaScript (ami)1,383
arrays, objects
Test Assertion Styles in JavaScript (isa)1,382
testing
A Comprehensive Guide to the Dangers of Regular Expressions in JavaScript (phi)1,381
guides, security, regex
A Socket API That Works Across JavaScript Runtimes—Announcing a WinterCG Spec and Node.js Implementation of “connect()” (jas+)1,380
runtimes, apis
Stop Using JS for That: Moving Features to CSS and HTML (kil)1,379
videos, css, html
The Saga of the Closure Compiler, and Why TypeScript Won1,378
google, compiling, typescript, history
What Is Transpiling?1,377
ecmascript, transpiling, babel
Mastering Closures in JavaScript: A Comprehensive Guide1,376
guides, closures, scope
How to Escape CSS Selectors in JavaScript (ste)1,375
how-tos, css, selectors, escaping
Speeding Up the JavaScript Ecosystem—Polyfills Gone Rogue (mar)1,374
performance, polyfills
The Character Encoding Cheat Sheet for JS Developers (hon)1,373
encoding, unicode, cheat-sheets
What Is Strict Mode in JavaScript?1,372
The Great JavaScript Divide: CommonJS vs. ES Modules (abd)1,371
modules, commonjs, esm, comparisons
What Can You Do With “data” Attributes? (cfe)1,370
html, custom-data
Arrow Functions vs. Traditional Functions in JavaScript (cfe)1,369
videos, functions, comparisons
Understanding the JavaScript Modulo Operator (jos)1,368
math
The JS Community on Twitter Is Dead (hbu)1,367
social-media, community
Writing Clean Code: Best Practices and Principles1,366
best-practices, principles, conventions, formatting, maintainability
JavaScript Is Getting Array Grouping Methods (phi)1,365
arrays, methods
Use Cases for IIFEs1,364
JPEG and EXIF Data Manipulation in JavaScript1,363
jpeg, metadata
Discover Bun—a Faster, Modern JavaScript Runtime1,362
bun, runtimes
Bun, JavaScript, and TCO1,361
bun, optimization
A New Method to Validate URLs in JavaScript (ste)1,360
validation, urls
JavaScript WTF: Why Does “every()” Return “true” for Empty Arrays? (nza)1,359
The “Array.prototype.every()” Method Always Returns “true” for an Empty Array (cfe)1,358
arrays, prototypes
Delay, Sleep, Pause, and Wait in JavaScript1,357
Binary Search Algorithm in JavaScript (fro)1,356
algorithms, search
Using Labeled Loops in JavaScript1,355
loops
Node.js vs. Deno vs. Bun: JavaScript Runtime Comparison1,354
nodejs, deno, bun, runtimes, comparisons
Clocks and Countdowns: Timing in CSS and JavaScript (sto)1,353
time, css
Visualizing Recursion With the Sierpinski Triangle1,352
algorithms, visualization
Catching Errors Thrown From “connectedCallback” (nol)1,351
web-components, errors
Scope vs. Shadow DOM (kei)1,350
shadow-dom, dom, scope, css, comparisons
Patterns for Reactivity With Modern Vanilla JavaScript (fro)1,349
reactivity
Adding a “Share to Mastodon” Link to Any Web Site (cod)1,348
social-media, links, mastodon, community
Demystifying CORS: Understanding How Cross-Origin Resource Sharing Works1,347
security, cors
A Better “setTimeout()” in JavaScript (ami)1,346
time
A Guide to Optimizing JavaScript Files1,345
guides, performance, optimization, minification, compression
Progressively Enhanced Form Validation: Layering in JavaScript (ger/clo)1,344
forms, validation, progressive-enhancement
An Intro to State-Based UI With JavaScript (cfe)1,343
introductions, state-management
A Compilation of Outstanding Testing Articles (With JavaScript)1,342
link-lists, testing
Prepare to Spy on a Method Added Dynamically (bah)1,341
videos, cypress, testing, debugging
Evading JavaScript Anti-Debugging Techniques (voi)1,340
debugging
Front End Practice: Top 25+ JavaScript Code Best Practices for Development1,339
best-practices
Run JavaScript/Wasm in Python: High-Level SpiderMonkey Bindings to Python With PythonMonkey1,338
webassembly, python, spidermonkey
Speeding Up V8 Heap Snapshots (jda)1,337
javascript-engines, v8, performance, memory
Combining Data With Multiple Fetch Requests (ste)1,336
arrays, data-fetching
Promises Training1,335
promises, training, courses
10 Simple CSS and JavaScript Micro-Interactions for Buttons1,334
css, buttons, effects
Anyone Else Notice That [Hacker News] Isn’t Full of JavaScript Frameworks Lately?1,333
discussions, frameworks
5 Inconvenient Truths About TypeScript (dea)1,332
typescript, complexity
Lightweight JavaScript Framework Review (for Django Developers)1,331
frameworks, comparisons, link-lists, django
A Case Study on Scroll-Driven Animations Performance1,330
animations, scrolling, performance, css
JavaScript Debounce, Easiest Explanation (With Code)1,329
debouncing
Tree Shaking in JavaScript1,328
performance, tree-shaking
All the Places Where You Can Use “prefers-color-scheme” Media Query (ami)1,327
css, media-queries, html, dark-mode
In Defence of “DOMContentLoaded” (css)1,326
dom, performance
CommonJS Is Hurting JavaScript (den)1,325
commonjs
JavaScript Gom Jabbar1,324
JavaScript Console Methods: A Deep Dive1,323
console, methods, debugging, deep-dives
What’s Next for JavaScript: New Features to Look Forward To (mar)1,322
Demystifying JavaScript Operators: What Does That Symbol Mean?1,321
operators
Converting [a] JavaScript Codebase to TypeScript1,320
typescript, migrating, refactoring
An Introduction to Command Injection Vulnerabilities in Node.js and JavaScript1,319
introductions, security, vulnerabilities, nodejs
The Cost of JavaScript 2023 (add)1,318
videos, performance
Too Much JavaScript? Why the Frontend Needs to Build Better (low)1,317
web-platform, performance
Using Multiple Selectors With JavaScript Selector Methods (cfe)1,316
selectors, methods
Import Maps to Natively Import JavaScript Modules Using Bare Names (ami)1,315
import-maps
Must Know JavaScript API—IndexedDB API1,314
databases, indexeddb, apis
Reducing Complexity in Front End Development (mic)1,313
complexity, performance, css
Primitive Objects in JavaScript: When to Use Them (sma)1,312
objects
test262.fyi1,311
websites, ecmascript, javascript-engines, v8, javascriptcore, spidermonkey, quickjs, chakracore
The Many Ways to Select the n-th Character From a String (cod)1,310
strings
Asynchronous JavaScript for Beginners1,309
asynchronicity
Why We Should Stop Using JavaScript According to Douglas Crockford (dou)1,308
videos
How to Format a Date With JavaScript—Date Formatting in JS (fre)1,307
how-tos, time
Cracking the Theme Switcher and Dark Mode1,306
css, dark-mode
I Think I Finally “Get” JS Objects1,305
objects
21 Awesome Web Features You’re Not Using Yet (fir)1,304
videos, html, css
An Introduction to JavaScript Proxies (cra)1,303
introductions
Plain Old JavaScript and the DOM (dou)1,302
dom
Why Does “👩🏾‍🌾” Have a Length of 7 in JavaScript?1,301
unicode
How to Draw Any Regular Shape With Just One JavaScript Function (mdn)1,300
how-tos, functions
Working With URLs With Vanilla JavaScript (cfe)1,299
urls
Building Offline-First Web Applications With Service Workers and IndexedDB1,298
offline, web-apps, web-workers, databases, indexeddb
Using “linear()” for Better Animation (oll)1,297
animations, css
Write Better Code by Following These JavaScript Best Practices1,296
best-practices
Getting an Item an Array With a Negative Index With Modern JavaScript (cfe)1,295
arrays
Get Full Type Support With Plain JavaScript1,294
Regular Expressions in JavaScript (hon)1,293
regex, examples
The JavaScript Ecosystem Is Delightfully Weird (sam/fly)1,292
An Introduction to the Bun JavaScript Runtime (cra)1,291
runtimes, bun
ES2023 Introduces New Array Copying Methods to JavaScript (phi)1,290
ecmascript, standards, arrays
Script Evaluation and Long Tasks (mal)1,289
performance, web-vitals
How to Configure Path Aliases in Frontend Projects in the Native Way1,288
how-tos, aliases, configuration
How Do You Declare Namespace in JavaScript?1,287
namespaces
Detecting if an Event Was Triggered by a User or by JavaScript (pau/clo)1,286
events
How to Write More Efficient JavaScript Conditions (fre)1,285
how-tos, efficiency
The Native Way to Configure Path Aliases in Frontend Projects1,284
nodejs, esm, commonjs, tooling, aliases
Practical Guide to Not Blocking the Event Loop1,283
guides, event-loop, events, performance
My Favorite Free Courses to Learn JavaScript in Depth1,282
courses, training, link-lists
JS Private Class Fields Considered Harmful (lea)1,281
Write Better CSS by Borrowing Ideas From JavaScript Functions (sma)1,280
css, functions, quality
How to Deep Merge Arrays and Objects With JavaScript (cfe)1,279
how-tos, arrays, objects
Discovering the Power of JavaScript Proxy After All This Time1,278
The “const” Deception (jos)1,277
Exploring the Potential of Web Workers for Multithreading on the Web (sma)1,276
web-workers, multithreading, performance
Read-Only Web Apps (ada)1,275
progressive-enhancement
Introduction to Web Animations With GSAP1,274
introductions, animations, gsap
Signals: Fine-Grained Reactivity for JavaScript Frameworks1,273
reactivity, signals, frameworks
Speeding Up the JavaScript Ecosystem—Draft-js Emoji Plugin (mar)1,272
performance, plugins
4 Ways to Create an Enum in JavaScript1,271
Consume Web Streams From OpenAI Using Vanilla JavaScript1,270
videos, data-fetching, streaming, ai, openai
How to Work With Dates and Times in Vanilla JavaScript (cfe)1,269
how-tos
Shallow vs. Deep Copying in JavaScript1,268
comparisons
Boost Your JavaScript With JSDoc Typing1,267
typescript, documentation, jsdoc
Programming-Language Popularity by GitHub Pull Requests (lem)1,266
studies, research, programming, comparisons, github, typescript
Designing for Reduced Motion1,265
accessibility, animations, reduced-motion, css, media-queries
JavaScript Memory Management: A Comprehensive Guide to Garbage Collection in JavaScript1,264
guides, memory, garbage-collection
Observing CSS1,263
css, monitoring
A Small JavaScript Pattern I Enjoy Using (kil)1,262
Copy to Clipboard in JavaScript and React1,261
react
Why JavaScript Is a Prototype-Based OOP1,260
oop
What Are Source Maps? (jec)1,259
videos, debugging, source-maps
JavaScript Import Maps Are Now Supported Cross-Browser (tom)1,258
import-maps, browsers, support
Defaulting on Single Page Applications (SPA) (zac)1,257
single-page-apps, performance
Mastering the JavaScript “switch” Statement1,256
The State of JS Frameworks (cfe/log)1,255
podcasts, frameworks, libraries
File Uploads for the Web: Upload Files With JavaScript (aus)1,254
file-handling
With or Without the JS Framework (cit)1,253
frameworks, career
Speeding Up the JavaScript Ecosystem—npm Scripts (mar)1,252
performance, bundling, npm
Time to Move on From Nunjucks? (bry)1,251
template-engines, nunjucks, webc, liquid
Unexpected Moments of JavaScript That Will Challenge Your Understanding of the Language1,250
JavaScript Polyfills1,249
polyfills
JavaScript for Beginners: Data Structures1,248
data-structures, arrays, objects
Progressively Enhancing a Table With a Web Component (ray)1,247
html, tables, web-components, progressive-enhancement
JavaScript: Automatically Remove an Event Listener After It Has Executed1,246
events
The Ternary Operator in JavaScript (cfe)1,245
operators
Create and Download Text Files Using JavaScript (ami)1,244
All JavaScript and TypeScript Features From the Last 3 Years1,243
typescript, history
Evolving Custom Sliders (sib/tpg)1,242
sliders, css
Change Favicon on Switching Browser Tabs in JavaScript (ami)1,241
images, favicons
ARIA Live Regions for JavaScript Frameworks (its/log)1,240
accessibility, aria, live-regions, frameworks
10 Helpful JavaScript Utility Functions1,239
functions
Client-Side JavaScript and React Criticism: What Comes Next? (mol)1,238
react, accessibility, performance, resilience, progressive-enhancement
Making the Case for Signals in JavaScript (rya/thi)1,237
signals
React vs. Signals: 10 Years Later (rya/thi)1,236
react, signals, comparisons, retrospectives
What Is Hoisting in JavaScript? (fro)1,235
scope, concepts
The Coolest JavaScript Features From the Last 5 Years1,234
retrospectives
The Evolution of Signals in JavaScript (rya/thi)1,233
signals
Dithering Images With React/JavaScript1,232
images, dithering, react
Debugging JavaScript Like a Pro: Tools and Techniques for Finding and Fixing Bugs1,231
debugging, tooling, techniques, bugs
All About Promises in JavaScript1,230
promises
Experiments With the JavaScript Garbage Collector1,229
garbage-collection, experiments
How to Handle Date and Time With JavaScript (sta)1,228
how-tos, time
The Great Gaslighting of the JavaScript Era (jar)1,227
frameworks, web-platform
When JavaScript Fails (jas)1,226
The State of JS Frameworks (rya+)1,225
podcasts, frameworks
Encapsulating CSS With Shadow DOM1,224
shadow-dom, dom, css
Writing JavaScript Without a Build System (b0r)1,223
building
Is It Worth Learning JavaScript? Popularity, Salaries, and Future (sta)1,222
career
The User Activation API (mar/web)1,221
apis
Well-Known Symbols1,220
Change Tab Bar Color Dynamically Using JavaScript (ami)1,219
colors, theming, browsers
So, What’s Next [for core-js]?1,218
foss, community, economics
This Is Why Performance Matters (bel)1,217
performance, user-experience
Rethinking the Modern Web1,216
web-platform, tooling
Sandboxing JavaScript Code1,215
security
Discovering Primitive Objects in JavaScript (sma)1,214
objects
The Case for Frameworks (sel)1,213
frameworks, web-platform
Use Maps More and Objects Less (ste/bui)1,212
objects
Table of Contents Progress Animation (kev)1,211
html, css, animations, progress-indicators
Speeding Up the JavaScript Ecosystem—ESLint (mar)1,210
performance, eslint, linting
The Market for Lemons (sli)1,209
web-platform, frameworks
Rotating Gallery With CSS Scroll-Driven Animations (jhe)1,208
html, css, animations, scrolling
Multi-Threaded React App Using useWorker1,207
multithreading, react, web-workers
How to Get the Last Matching Item in an Array With Vanilla JavaScript (cfe)1,206
how-tos, arrays
The YAML Document From Hell—JavaScript Edition (phi)1,205
yaml
Cancel Duplicate Fetch Requests in JavaScript Enhanced Forms (aus)1,204
data-fetching
The Ultimate Guide to JavaScript Error Handling (cra)1,203
guides, errors
Using Local Storage in JavaScript and React1,202
react, browser-storage
You’ve Got Options for Removing Event Listeners (mac)1,201
events
10 GitHub Repositories You Should Know as a JavaScript Developer1,200
cheat-sheets, best-practices, link-lists, github
Accessible Hamburger Buttons Without JavaScript1,199
accessibility, navigation
Flow Control in JavaScript: Callbacks, Promises, “async”/“await” (cra)1,198
callbacks, promises, asynchronicity
10 Web Development Trends in 2023 (rwi)1,197
trends, frameworks, tooling, monorepos, presentational-html, ai, code-completion
“scrollend”, a New JavaScript Event (arg)1,196
events
Is CSS-in-JS Actually Bad? (may)1,195
css, css-in-js
So You Want to Make a New JS Framework (dav)1,194
frameworks
Deep Cloning Objects in JavaScript, the Modern Way (ste/bui)1,193
objects
Promises, Thenables, and Lazy-Evaluation: What, Why, How (aus)1,192
promises
A Better Way to Work With Number and Date Inputs in JavaScript (ste/bui)1,191
Advanced Usage Patterns for Taking Page Element Screenshots With Playwright1,190
screenshots, images, playwright
Speeding Up the JavaScript Ecosystem—Module Resolution (mar)1,189
performance, modules, esm, commonjs
Four Ways to Chop Up Arrays (with Vanilla JavaScript) (cfe)1,188
arrays
JavaScript, Community (zac)1,187
community
The Gotcha of Unhandled Promise Rejections (jaf)1,186
promises
The State of JavaScript 2022 [Results] (sac/dev)1,185
surveys, metrics
Why Not “document.write()”? (css)1,184
performance
2022 JavaScript Rising Stars1,183
frameworks, react, vuejs, building, testing, tooling, mobile, desktop, state-management, css-in-js, graphql, retrospectives
Use nvm and .nvmrc for a Better JavaScript Development1,182
nvm, nodejs
Top 13 Templating Engines for JavaScript to Improve and Simplify Your Workflow 2023 (sta)1,181
template-engines, mustache, handlebars, nunjucks, pug, marko, comparisons, link-lists
Cloning Arrays and Objects in Vanilla JavaScript (cfe)1,180
arrays, objects
Conditional API Responses for JavaScript vs. HTML Forms (aus)1,179
html, forms, security, comparisons
Intro to JavaScript Closures1,178
introductions, closures
Compress an Image Before Upload With JavaScript (rik)1,177
file-handling, compression, images
React JS Best Practices From the New Docs1,176
react, best-practices, jsx, aria
JavaScript Frameworks—Heading Into 2023 (rya/thi)1,175
frameworks
Building an Accessible Theme Picker With HTML, CSS, and JavaScript (fos)1,174
accessibility, html, css, theming, functionality
Signals: The Nitty-Gritty (web/per)1,173
performance, signals
Pointer Events (5t3)1,172
css, pointer-events, apis
The Performance Inequality Gap, 2023 (sli)1,171
performance, metrics
Using Inline JavaScript Modules to Prevent CSS Blockage (sto/per)1,170
performance, css
ECMAScript Proposal: Iterator Helpers (rau)1,169
ecmascript, standards
The Most Popular CSS-in-JS Libraries in 2022 (sta)1,168
libraries, css, css-in-js
Get Off the Main Thread With an Inline Web Worker: An Example (sto/per)1,167
performance, web-workers, examples
An Interactive Guide to JavaScript Events (ale)1,166
guides, events, examples
How to Merge Objects in JavaScript (sta)1,165
how-tos, objects
JavaScript Polyfills for Interviews1,164
polyfills, interviewing
Using SRI to Protect From Malicious JavaScript (mat)1,163
security
Developing Faster JavaScript Apps: The Ultimate Guide to Web Workers (cra)1,162
guides, web-apps, performance, web-workers
Tips for Typing Import Statements in JavaScript (rau)1,161
Convert Any Value to a Boolean in JavaScript (ami)1,160
Speeding Up the JavaScript Ecosystem—One Library at a Time (mar)1,159
performance, libraries
5 Ways to Make Your JavaScript More Functional1,158
programming
Document Object Model (DOM) Geometry: A Beginner’s Introduction and Guide (sma)1,157
introductions, guides, dom
Our Future CSS Strategy1,156
css, css-in-js, strategies, case-studies
A Guide to Keyboard Accessibility: JavaScript (its/sma)1,155
guides, accessibility, keyboard-navigation
State of JavaScript 2022 (sac/dev)1,154
surveys
Days Since Last JS Framework1,153
websites, frameworks
Back to Basics: What are Callbacks in JavaScript?1,152
fundamentals, callbacks
Spy On “window.postMessage” Calls (bah)1,151
cypress, testing
Generating Slugs Using One Line of Code in JavaScript (ami)1,150
Client-Side Routing Without the JavaScript (rya/thi)1,149
performance, frameworks
Why Would Anyone Need JavaScript Generator Functions?1,148
functions