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

Frontend Dogma

“javascript” News Archive (2)

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