Tech does not just watch: Take action against Russia’s war on Ukraine 🇺🇦, and take action against Israel’s occupation, destruction, and ethnic cleansing of Palestine (history) 🇵🇸 Hide

Frontend Dogma

“javascript” News Archive (2)

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