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