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 respect and accountability. Hide

Frontend Dogma

“javascript” News Archive (3)

Entry (Sources) and Additional TopicsDate#
Speeding Up the JavaScript Ecosystem—ESLint (mar)1311
performance, eslint, linting
The Market for Lemons (sli)1310
web-platform, frameworks
Rotating Gallery With CSS Scroll-Driven Animations (jhe)1309
html, css, animations, scrolling
Multi-Threaded React App Using useWorker1308
multithreading, react, web-workers
How to Get the Last Matching Item in an Array With Vanilla JavaScript (cfe)1307
how-tos, arrays
The YAML Document From Hell—JavaScript Edition (phi)1306
yaml
Cancel Duplicate Fetch Requests in JavaScript Enhanced Forms (aus)1305
data-fetching
The Ultimate Guide to JavaScript Error Handling (cra)1304
guides, errors
Using Local Storage in JavaScript and React1303
react, browser-storage
You’ve Got Options for Removing Event Listeners (mac)1302
events
Accessible Hamburger Buttons Without JavaScript1301
accessibility, navigation
10 GitHub Repositories You Should Know as a JavaScript Developer1300
cheat-sheets, best-practices, link-lists, github
Flow Control in JavaScript: Callbacks, Promises, “async”/“await” (cra)1299
callbacks, promises, asynchrony
10 Web Development Trends in 2023 (rwi)1298
trends, frameworks, tooling, monorepos, presentational-html, ai, code-completion
“scrollend”, a New JavaScript Event (arg)1297
events
Is CSS-in-JS Actually Bad? (may)1296
css, css-in-js
So You Want to Make a New JS Framework (dav)1295
frameworks
Deep Cloning Objects in JavaScript, the Modern Way (ste/bui)1294
objects
Promises, Thenables, and Lazy-Evaluation: What, Why, How (aus)1293
promises
A Better Way to Work With Number and Date Inputs in JavaScript (ste/bui)1292
Advanced Usage Patterns for Taking Page Element Screenshots With Playwright1291
screenshots, images, playwright
Speeding Up the JavaScript Ecosystem—Module Resolution (mar)1290
performance, modules, esm, commonjs
Four Ways to Chop Up Arrays (with Vanilla JavaScript) (cfe)1289
arrays
JavaScript, Community (zac)1288
community
The Gotcha of Unhandled Promise Rejections (jaf)1287
promises
The State of JavaScript 2022 [Results] (sac/dev)1286
surveys, metrics
Why Not “document.write()”? (css)1285
performance
2022 JavaScript Rising Stars1284
frameworks, react, vuejs, building, testing, tooling, mobile, desktop, state-management, css-in-js, graphql, retrospectives
Top 13 Templating Engines for JavaScript to Improve and Simplify Your Workflow 2023 (sta)1283
template-engines, mustache, handlebars, nunjucks, pug, marko, comparisons, link-lists
Use nvm and .nvmrc for a Better JavaScript Development1282
nvm, nodejs
Cloning Arrays and Objects in Vanilla JavaScript (cfe)1281
arrays, objects
Conditional API Responses for JavaScript vs. HTML Forms (aus)1280
html, forms, security, comparisons
Intro to JavaScript Closures1279
introductions, closures
Compress an Image Before Upload With JavaScript (rik)1278
file-handling, compression, images
React JS Best Practices From the New Docs1277
react, best-practices, jsx, aria
JavaScript Frameworks—Heading Into 2023 (rya/thi)1276
frameworks
Building an Accessible Theme Picker With HTML, CSS, and JavaScript (fos)1275
accessibility, html, css, theming, functionality
Signals: The Nitty-Gritty (web/per)1274
performance, signals
Pointer Events (5t3)1273
css, pointer-events, apis
The Performance Inequality Gap, 2023 (sli)1272
performance, metrics
Using Inline JavaScript Modules to Prevent CSS Blockage (sto/per)1271
performance, css
ECMAScript Proposal: Iterator Helpers (rau)1270
ecmascript, standards
The Most Popular CSS-in-JS Libraries in 2022 (sta)1269
libraries, css, css-in-js
Get Off the Main Thread With an Inline Web Worker: An Example (sto/per)1268
performance, web-workers, examples
An Interactive Guide to JavaScript Events (ale)1267
guides, events, examples
How to Merge Objects in JavaScript (sta)1266
how-tos, objects
JavaScript Polyfills for Interviews1265
polyfills, interviewing
Using SRI to Protect From Malicious JavaScript (mat)1264
security
Developing Faster JavaScript Apps: The Ultimate Guide to Web Workers (cra)1263
guides, web-apps, performance, web-workers
Tips for Typing Import Statements in JavaScript (rau)1262
Convert Any Value to a Boolean in JavaScript (ami)1261
Speeding Up the JavaScript Ecosystem—One Library at a Time (mar)1260
performance, libraries
5 Ways to Make Your JavaScript More Functional1259
programming
Minification and Cache Directives for the Most Popular Websites of the Internet (dvk)1258
minification, css, html, lightning-css, html-minifier, metrics, caching, performance
Document Object Model (DOM) Geometry: A Beginner’s Introduction and Guide (sma)1257
introductions, guides, dom
Our Future CSS Strategy1256
css, css-in-js, strategies, case-studies
A Guide to Keyboard Accessibility: JavaScript (its/sma)1255
guides, accessibility, keyboard-navigation
State of JavaScript 2022 (sac/dev)1254
surveys
Days Since Last JS Framework1253
websites, frameworks
Back to Basics: What are Callbacks in JavaScript?1252
fundamentals, callbacks
Spy On “window.postMessage” Calls (bah)1251
cypress, testing
Generating Slugs Using One Line of Code in JavaScript (ami)1250
Client-Side Routing Without the JavaScript (rya/thi)1249
performance, frameworks
Saved From Callback Hell1248
callbacks
Why Would Anyone Need JavaScript Generator Functions? (jrs)1247
functions
An Overview of JavaScript Promises1246
overviews, promises
7 Shorthand Optimization Tricks Every JavaScript Developer Should Know1245
optimization
Motion Controls in the Browser (sma)1244
browsers, permissions
What Is a Realm in JavaScript?1243
Guide to the Best JavaScript Books for Beginners1242
guides, books, link-lists
Detect System Theme Preference Change Using JavaScript (dav)1241
dark-mode
JavaScript Shallow Copy—What Is a Shallow Copy?1240
Why I Never Understood CSS-in-JS (cit)1239
css, css-in-js
Secure JavaScript URL Validation1238
validation, urls, security
Why We’re Breaking Up With CSS-in-JS1237
css, css-in-js
Two JavaScripts (rem)1236
Speeding Up Async Snippets (css)1235
performance, asynchrony
Quick Tip: How to Use the Ternary Operator in JavaScript1234
how-tos, operators, tips-and-tricks
Bun? Deno? Node.js? Creating Your Own JavaScript Runtime Using V8, Libuv, and More1233
videos, runtimes, v8
Delightful UI Animations With Shared Element Transitions API II (cod/sma)1232
animations, transitions, apis
Understanding “async” and “await”1231
asynchrony
How to Safely Pass Data to JavaScript in a Django Template (ada)1230
how-tos, django
Quick Tip: How to Use the Spread Operator in JavaScript1229
how-tos, operators, tips-and-tricks
The Missing Math Methods in JavaScript1228
math, methods
Delightful UI Animations With Shared Element Transitions API (cod/sma)1227
animations, transitions, apis
I Changed My Mind About Writing New JavaScript Frameworks (whi)1226
frameworks
I Turned JS Into a Compiled Language (for Fun and Wasm) (sur)1225
compiling, webassembly
The Difference Between “undefined” and “not defined” in JavaScript1224
Templating in HTML (kit)1223
html
Optimize Long Tasks (mal)1222
performance, optimization
How to Return Multiple Values From a Function in JavaScript (ami)1221
how-tos, functions
Let Me Understand How JavaScript Works Under the Hood1220
Dear Console… (cod)1219
console
Useful JavaScript Math Functions and How to Use Them1218
math, functions
Named Element IDs Can Be Referenced as JavaScript Globals (css)1217
html
How to Get All Sibling Elements of a Link or Button With Vanilla JavaScript (cfe)1216
how-tos, links, buttons
JavaScript (mal/htt)1215
web-almanac, studies, research, metrics
The New Wave of JavaScript Web Frameworks1214
frameworks, react, vuejs, svelte, solidjs
K-Means Clustering Visualization Using D3.js1213
visualization
Writing Composable SQL Using JavaScript1212
databases, sql
Rest vs. Spread Syntax in JavaScript (ami)1211
comparisons
How to Generate Random Numbers in JavaScript With “Math.random()”1210
how-tos, math, randomness
Building a Retro Draggable Web Component With Lit (and/sma)1209
web-components
How to Get the Current Timestamp in JavaScript1208
how-tos
Total Blocking Time: A Short and Sweet Guide for Happier Users (ben/cal)1207
performance
7 Must Know JavaScript Tips and Tricks1206
tips-and-tricks
JavaScript APIs You Don’t Know About (mon/sma)1205
apis
A Guide to Rounding Numbers in JavaScript1204
guides
Conditionally Spreading Objects in JavaScript (ami)1203
objects
The Seventh Way to Call a JavaScript Function Without Parentheses1202
functions
Mastering DOM Manipulation With Vanilla JavaScript1201
dom
Make It Short—Make It Better1200
minimalism
A Quick Primer on Testing JavaScript (cfe)1199
introductions, testing
What’s New With Forms in 2022? (oll/css)1198
forms, html
Detect When Users Switch Tabs Using JavaScript1197
The Art of Writing Secrets: Encryption for JavaScript Developers (wom)1196
cryptography, encryption
Dear Oracle, Please Release the JavaScript Trademark (tin)1195
licensing, legal, oracle
Disabled JavaScript Turns Off Native Lazy Loading (ste)1194
html, performance, lazy-loading
Useful JavaScript Data Grid Libraries (sma)1193
libraries, grids, information-design, comparisons
Default Exports in JavaScript Modules Are Terrible1192
JavaScript Bugs Aplenty in Node.js Ecosystem—Found Automatically1191
studies, research, nodejs, dependencies, security, quality, bugs
Monitor Events and Function Calls via Console (dav)1190
events, monitoring
Implementing Promisable “setTimeout” (skw)1189
time
Tracking the World in About 80 Lines of JavaScript (kzi)1188
privacy
What Is a REST API? (cra)1187
apis, rest
How to Use localStorage in JavaScript: An Easy Guide1186
how-tos, browser-storage, guides
Re-Implementing JavaScript’s “==” in JavaScript (eva)1185
operators
An Introduction to Context Propagation in JavaScript (sma)1184
introductions
Dependency Injection in JS/TS (cod)1183
typescript
Optimizing for JavaScript Is Hard (jfm)1182
optimization
Custom Event Naming Conventions (cfe)1181
events, naming
The Console API1180
console, apis
TypeScript vs. JavaScript: Which One You Should Use, and Why1179
typescript, comparisons
Code Golfing Tips and Tricks: How to Minify Your JavaScript Code1178
how-tos, minification, tips-and-tricks
The JavaScript Paradox (rya/thi)1177
Light/Dark Mode1176
css, dark-mode
Why I Still Love PHP and JavaScript After 20+ Years (mnl)1175
php, retrospectives
Checking if a JavaScript Native Function Is Monkey Patched1174
functions
Adding Observability to Your Jest Tests1173
jest, testing, observability
Everything You Need to Know About JavaScript Import Maps (hon)1172
dependencies, import-maps
The History of JavaScript1171
history
Type Annotations in JavaScript1170
typescript, annotations
Front-End Internationalisation Tips (stu)1169
internationalization, fonts, css
RedwoodJS vs. BlitzJS: The Future of Fullstack JavaScript Meta-Frameworks1168
frameworks, redwoodjs, comparisons
JavaScript SDK “Package Size Is Massive”—So We Reduced It by 29% (get)1167
optimization, tree-shaking
15 Common Beginner JavaScript Mistakes1166
mistakes
The 10 Most Common JavaScript Issues Developers Face1165
mistakes
JSON Creator Douglas Crockford Interview (dou)1164
interviews
Hacking JavaScript Objects1163
objects
Useful Tips and Tricks in JavaScript1162
tips-and-tricks
The “Array.prototype.at()” Method in Vanilla JavaScript (cfe)1161
prototypes
Statements vs. Expressions (jos)1160
comparisons
Integer Math in JavaScript1159
math
JavaScript Obfuscation Techniques by Example1158
obfuscation, techniques, examples
Frontend Web Performance: The Essentials1157
fundamentals, performance
Using JavaScript to Fill localStorage to Its Maximum Capacity1156
browser-storage
Stop the Screen Going to Sleep With JavaScript1155
In Defense of Blocks for Local Scopes1154
scope
In Defense of Blocks for Local Scopes II1153
scope
Svelte Origins: A JavaScript Documentary1152
videos, svelte
Future Features of JS (jsn)1151
videos
You Don’t Need a JavaScript Library for Your Components1150
libraries, components
How to Remove 99% of JavaScript From Main Thread (wea)1149
videos, how-tos, performance
Understanding the JavaScript Window Object1148
objects
AbortController Is Your Friend1147
Modern JavaScript, 10 Things You Should Be Using, Starting Today1146
Patterns for Building JavaScript Websites in 2022 (rya/thi)1145
frameworks, comparisons
JavaScript Hydration Is a Workaround, Not a Solution1144
hydration
Optimize the Use of “if–else”1143
Mathematical Notation for JavaScript Developers Explained1142
math
Shallow Copy and Deep Copy1141
Monorepos in JavaScript and TypeScript (rwi)1140
typescript, monorepos
JavaScript of Halftone Printing1139
halftone, print
Processing Arrays Non-Destructively: “for-of” vs. “.reduce()” vs. “.flatMap()” (rau)1138
arrays, comparisons
JavaScript Closures, Explained1137
closures
Understanding Weak Reference in JavaScript (sma)1136
Snyk Finds 200+ Malicious npm Packages, Including Cobalt Strike Dependency Confusion Attacks1135
npm, dependencies, security
Building a Button Component (arg)1134
components, html, css, buttons
RFC 9239: Updates to ECMAScript Media Types (rau)1133
mime-types
Reduce Array of Objects to an Object in JavaScript (ami)1132
arrays, objects
Does JavaScript Make My Site Less Accessible?1131
accessibility, wcag
How to Use Google CrUX to Analyze and Compare the Performance of JS Frameworks (sma)1130
how-tos, performance, google, crux, metrics, frameworks
How to Learn JavaScript Fast: Six Simple Mind Tricks1129
how-tos, tips-and-tricks, learning
You Don’t Need “void 0”1128
The Road to Universal JavaScript1127
Fetch API Is [the] New Old Version of AJAX1126
data-fetching, apis, ajax
Master Higher-Order Functions in JavaScript1125
functions
JavaScript Containers (tin)1124
outlooks
8 JavaScript Quiz [Questions] That May Confuse You1123
quizzes, interviewing
Common Frontend Interview Questions I’ve Been Asked1122
interviewing, html
CTA Modal: How to Build a Web Component (sma)1121
how-tos, web-components, modals
Web Scraping via JavaScript Runtime Heap Snapshots1120
scraping, memory
Learn to Code With JavaScript: The Most Popular Programming Language on Earth1119
learning
What Is Memoization? How and When to Memoize in JavaScript and React (fre)1118
memoization, react
Four Eras of JavaScript Frameworks1117
frameworks, history
Build a Lightweight Web Component With Lit.js1116
web-components
Faster Initialization of Instances With New Class Features (joy)1115
browsers, javascript-engines, v8, performance
The Ultimate Guide to Optimizing JavaScript for Quick Page Loads (ste/bui)1114
guides, performance, optimization
Building a Dialog Component (arg)1113
components, modals, html, css
JavaScript Function Composition: What’s the Big Deal? (jrs)1112
functions
33 JavaScript Concepts Every Developer Should Know1111
concepts
JavaScript and Node.js Testing Best Practices1110
nodejs, testing, best-practices
Locale Aware Sorting in JavaScript1109
sorting, localization, internationalization
14 Linting Rules to Help You Write Asynchronous Code in JavaScript1108
asynchrony, linting
When to Use a Function Expression vs. Function Declaration1107
functions, comparisons
Conquering JavaScript Hydration (rya/thi)1106
hydration
Performance Tests on Common JavaScript Array Methods (hac)1105
performance, testing, arrays
How to Make a Drag-and-Drop File Uploader With Vue.js 3 (sma)1104
how-tos, drag-and-drop, file-handling, vuejs
Accessibility, Assistive Technology, and JavaScript (cfe)1103
accessibility, assistive-tech
Building a Loading Bar Component (arg)1102
components, html, css
A Quick Guide to Closures1101
guides, closures
How to Automatically Size a Textarea Based on Its [Text] Using Vanilla JavaScript (cfe)1100
how-tos, html
Implementing JavaScript Delay for Cookie Consent Banner1099
cookies, consent-management, legal
Horizontal Scrolling Nav (mdo)1098
scrolling
Can I Use Hover on Touch Devices? Here’s [a] CSS and JS Hack1097
css, mobile, hover, touch
Arrow Functions in JavaScript: How to Use Fat and Concise Syntax1096
how-tos, functions
CommonJS (CJS) and Modules (ESM): Import Compatibility1095
typescript, commonjs, esm
A Look at the Dialog Element’s Super Powers (ste)1094
modals, html
JavaScript Naming Conflicts: How Existing Code Can Force Proposed Features to Be Renamed (rau)1093
naming, refactoring
Why I Avoid “async”/“await”1092
asynchrony
Creating Native Web Components (cod)1091
web-components, html
It’s Always Been You, Canvas2D1090
html, css, canvas
How to Use Higher-Order Functions in JavaScript1089
how-tos, functions
How Do Primitive Values Get Their Properties? (rau)1088
Essential Cryptography for JavaScript Developers1087
books, cryptography
5 Things You Don’t Need JavaScript For1086
How to Build a File Upload Service With Vanilla JavaScript (log)1085
how-tos, file-handling
HTML Comments Work in JavaScript Too1084
html, comments
What Is Responsible JavaScript? (mal+/sma)1083
podcasts
You Can “throw()” Anything in JavaScript—and Other “async”/“await” Considerations1082
asynchrony
JavaScript Obfuscation: The Definitive Guide (2022)1081
guides, obfuscation
Comparing Node JavaScript to JavaScript in the Browser (css)1080
nodejs, browsers, comparisons
How to Create a Search Page for a Static Website With Vanilla JS (cfe)1079
how-tos, functionality, search, html
The State of JavaScript 2021 [Results] (sac/dev)1078
surveys, metrics
The Harsh Reality for JavaScript Developers: If You Don’t Study the Fundamentals You Will Be Just Another “Coder”1077
fundamentals, career
Track Down the JavaScript Code Responsible for Polluting the Global Scope1076
scope
7 Killer One-Liners in JavaScript1075
Moving From JavaScript to TypeScript1074
typescript
Debugging JavaScript (fla)1073
debugging
New in JavaScript: “reportError”—a Method to Report to Global Event Handlers (ste)1072
events
Move Over JavaScript: Back-End Languages Are Coming to the Front-End (kli)1071
Creating Generative SVG Grids (tro)1070
svg, grids
What Web Frameworks Solve: The Vanilla Alternative (nom/sma)1069
frameworks, react
The Impact of Motion Animation on Cognitive Disability (tpg)1068
accessibility, css
Why Efficient Hydration in JavaScript Frameworks Is So Challenging (rya/thi)1067
frameworks, hydration
Improving JavaScript Bundle Performance With Code-Splitting (cod/sma)1066
performance, bundling, code-splitting, optimization
A More Easy Way to Write “if … or” Checks With Vanilla JavaScript (cfe)1065
Preventing Smooth Scrolling With JavaScript (kil)1064
scrolling
A Pipe Operator for JavaScript: Introduction and Use Cases (rau)1063
introductions, operators
The Double-Assignment Pattern in jQuery’s Source Code1062
jquery
The Many Ways to Modify Leading and Trailing Characters From Strings With JavaScript (cfe)1061
strings
Context-Aware Web Components Are Easier Than You Think (css)1060
web-components, html
Frontend Challenges: Front-End Engineer Assignment1059
react, typescript, training
“structuredClone()”: Deeply Copying Objects in JavaScript (rau)1058
objects
Two Ways to Clear an Array With Vanilla JavaScript (cfe)1057
arrays
Improving WordPress Performance: An Open Letter (erw)1056
open-letters, wordpress, performance, css
8 Techniques to Write Cleaner JavaScript Code1055
Add a Service Worker to Your Site (cfe/css)1054
web-workers
How to Add and Remove a CSS Class From Multiple Elements With Vanilla JavaScript (cfe)1053
how-tos, css
Be Prepared for Failure and Handle It Gracefully (css)1052
graceful-degradation
CSS Houdini Paint API (5t3)1051
css, houdini, apis
Deep-Copying in JavaScript Using “structuredClone” (sur)1050
Performance Implications of JavaScript Errors (per)1049
performance, errors
Embrace the Platform (bra/css)1048
html, css, web-platform
Intersection Observer (5t3)1047
apis
JSON Modules in JavaScript1046
json, modules
Best Practices for Node.js Development1045
nodejs, best-practices
JavaScript (htt)1044
web-almanac, studies, research, metrics
How to Trim Strings in JavaScript1043
how-tos, strings
How JavaScript Engines Achieve Great Performance1042
javascript-engines, performance
How to Make Blob Menu Using HTML, CSS, and JavaScript1041
how-tos, html, css
Why IndexedDB Is Slow and What to Use Instead1040
databases, indexeddb, performance
How to Debounce and Throttle Callbacks in Vue1039
how-tos, vuejs, callbacks, debouncing, throttling
Chrome DevTools: Copy CSS Styles as JavaScript-Compatible Properties1038
dev-tools, css, browsers, chrome
Using Web Workers to Boost Third-Party Script Performance (log)1037
web-workers, performance
Rust Is Eating JavaScript (lee)1036
rust, swc, deno, esbuild, webassembly, tooling
Localizing Your Next.js App (ati/sma)1035
nextjs, localization
Designing Error Messages and a Logging Strategy in Node.js (app)1034
software-design, nodejs, logging, strategies
Accessible Toggles (mic)1033
accessibility, toggles, html
A Comprehensive Guide to Error Handling in Node.js (hon)1032
guides, nodejs, errors
HTMLoween—HTML, JS, and CSS to Make Your Blood Boil1031
html, css
Chrome DevTools: Visualise Your JavaScript Bundles1030
dev-tools, bundling, browsers, chrome, lighthouse, visualization
In-Page Filtered Search With Vanilla JavaScript (css)1029
functionality, search
11 Methods to Add CSS/JS Frontend Assets Into TYPO3 (t3p)1028
typo3, css, examples
Why Outdated jQuery Is Still the Dominant JavaScript Library1027
libraries, jquery
Building an Effective Image Component1026
components, performance
Finding Common Patterns Across Frameworks1025
frameworks
Decoupling HTML, CSS, and JavaScript in Design Systems (cfe)1024
html, css, design-systems
Back to Basics: Understanding the “for…in” Loop in JavaScript1023
fundamentals, loops
Dealing With Timezones in Web Development1022
Stop Writing JavaScript Like This1021
Building a Multi-Select Component (arg)1020
components, html, css
Introduction to Styled Components1019
introductions, css, components
The Ultimate Guide to Getting Started With the Rollup.js JavaScript Bundler (cra)1018
guides, introductions, rollup, bundling
Animation Techniques for Adding and Removing Items From a Stack (css)1017
css, animations
Writing Clean JavaScript Tests With the BASIC Principles1016
testing, principles
jsPerf—Online JavaScript Performance Benchmark1015
websites, performance
Using JavaScript to Detect High Contrast and Dark Modes (sco)1014
accessibility, colors, contrast, dark-mode
Sorting JavaScript Arrays by Nested Properties1013
sorting, arrays
How I Built a Modern Website in 2021 (ken)1012
html, css
Web Streams Everywhere (and Fetch for Node.js) (oll/css)1011
nodejs, streaming, data-fetching
A JavaScript Developer’s Guide to Browser Cookies (psu)1010
guides, cookies
Optimising a JavaScript Library With WebAssembly, a Failed Attempt1009
libraries, webassembly
20 Killer JavaScript One-Liners1008
Small Bundles, Fast Pages: What to Do With Too Much JavaScript (cal)1007
performance, bundling
29 Projects to Help You Practice HTML CSS JavaScript 20211006
html, css
The Ultimate Guide to Web Console1005
guides, console, debugging
Vanilla JS Is a Web Performance Decision (cfe)1004
performance
Defining Basic JavaScript Terms: “map”, “filter”, and “reduce” (jim)1003
Threats of Using Regular Expressions in JavaScript1002
regex
Building a Split-Button Component (arg)1001
components, html, css
Web Scraping With JavaScript and Node.js1000
nodejs, scraping
Writing High-Performance JavaScript (cfe)999
performance
7 Practices to Create Good JavaScript Variables998
variables
Essential Concepts in JS997
concepts
How to Use “Promise.any()”996
how-tos, promises
jsc: My New Best Friend (cho)995
tooling
4 Important Differences Between Regular and Arrow Functions994
functions, comparisons
Truthy and Falsy: When All Is Not Equal in JavaScript (cra)993
Using CSS Module Scripts to Import Stylesheets992
css, modules
What Is a Promise? JavaScript Promises for Beginners (fre)991
promises, asynchrony
“return await promise” vs. “return promise” in JavaScript990
promises, comparisons
JavaScript Development: Making a Web Worker Optional989
web-workers
Uploading Multiple Files With Fetch (ray)988
file-handling, data-fetching
Refresher on JavaScript Callbacks and Promises (ato)987
callbacks, promises
How to Use “Promise.allSettled()”986
how-tos, promises
How to Build Resilient JavaScript UIs (sma)985
how-tos, user-experience, resilience
The (Most Comprehensive) JavaScript Design Principles Guide984
guides, software-design, principles
An Introduction to Frameworkless Web Components (cra)983
introductions, web-components, dom
6 Useful Frontend Techniques That You May Not Know About982
html, css, techniques
The Ultimate Cheat Sheet List for Web Developers981
html, css, cheat-sheets
What Is Tree Shaking? (cfe)980
performance, concepts, tree-shaking
The Ultimate Guide to Browser-Side Storage (cra)979
guides, browsers, browser-storage
Detecting Media Query Support in CSS and JavaScript (kil)978
css, media-queries, support
How to Convert Arrays to Human-Readable Lists in JavaScript (ami)977
how-tos, conversion, arrays
How Does Node.js Load Its Built-In/Native Modules? (joy)976
nodejs, modules
How to Use “Promise.all()”975
how-tos, promises
Basics of JavaScript Test Driven Development (TDD) With Jest974
fundamentals, testing, jest
“export default thing” Is Different to “export { thing as default }” (jaf)973
Encoding Data for POST Requests (jaf)972
security, encoding
The State of Web Workers in 2021 (sur/sma)971
web-workers
When a Click Is Not Just a Click (css)970
Resource Inlining in JavaScript Frameworks (mge)969
frameworks, performance, web-vitals
JavaScript Frameworks and the Lost Art of HTML (ste/deq)968
html, frameworks
Debugging JavaScript and Front-End967
videos, debugging
Demystifying Styled Components (jos)966
css, components
What’s New in ES2021965
ecmascript, standards
Sorting Colors in JavaScript964
sorting, colors
How to Use Dynamic Imports in JavaScript963
how-tos
When CSS Isn’t Enough: JavaScript Requirements for Accessible Components (5t3/sma)962
css, accessibility
10 Utility Functions for Working With Objects in JavaScript961
functions, objects
JavaScript: Debouncing and Throttling960
debouncing, throttling
A Thorough Analysis of CSS-in-JS (css)959
css, css-in-js
Approaches to Undo and Redo (mca)958
undo-redo, functionality
Don’t Overabstract Your Components957
html, components
Tree-Shaking: A Reference Guide (ati/sma)956
guides, performance, optimization, tree-shaking
Create Scripts in JavaScript With zx955
zx, automation
Introduction to HTTP Cookies954
introductions, cookies
Checking “Under the Hood” of Code (jay)953
dev-tools, browsers, debugging, console, html, css, history
The Lazy-Loading Property Pattern in JavaScript (nza)952
software-design-patterns, lazy-loading, performance
Content-Aware Image Resizing in JavaScript951
images, resizing
Variable Scope, Lexical Scope, and Code Blocks in JavaScript950
scope
Primitive Values, Objects, and References in JavaScript Made Simple949
objects
Human-Readable JavaScript: A Tale of Two Experts (ali)948
maintainability
What Are Source Maps in JavaScript?947
videos, source-maps
Now That’s What I Call Service Worker (mal/ali)946
apis, web-workers
Why Your Website Should Work Without JavaScript945
accessibility, support, graceful-degradation
What Is the JavaScript Internationalization API (I18N)? (cra)944
internationalization, apis
5 Different Ways to Declare Functions in jQuery (cra)943
jquery, functions
A Comprehensive Guide to JavaScript Design Patterns942
guides, software-design-patterns
JavaScript: What Is the Meaning of “this”? (jaf)941
Beyond “console.log()”—Level Up Your Debugging Skills (cod)940
console, debugging
Garbage Collection in JavaScript939
garbage-collection
Revisiting Dark Patterns With the HTML “dialog” Tag (tan)938
modals, html
CSS-in-JS in 200 Bytes (zse)937
css-in-js, css, tooling
An Introduction to the Rollup.js JavaScript Bundler (cra)936
introductions, bundling, tooling, rollup
JavaScript Obfuscation: What, Why, and How?935
obfuscation
2020 JavaScript Rising Stars934
frameworks, nodejs, react, vuejs, angular, building, testing, tooling, css-in-js, mobile, state-management, graphql, retrospectives
A Practical Introduction to Dependency Injection (sma)933
introductions, maintainability
HTML and CSS Techniques to Reduce Your JavaScript (per)932
html, css, performance
Flushing Promises in JavaScript—What It Is and Why You Need It in UI Tests931
promises, asynchrony, flushing
JavaScript (tka/htt)930
web-almanac, studies, research, metrics
How to Create a Favicon That Changes Automatically (css)929
how-tos, favicons, data-urls
“npm ruin dev” (css)928
html, css, nodejs, npm
Minimal Takes on Faking Container Queries (chr/css)927
container-queries, web-components, css
Why It’s Good for Users That HTML, CSS, and JS Are Separate Languages (hdv)926
html, css
“console.log({ myVariable });” (chr/css)925
console
Warp: Improved JS Performance in Firefox 83 (jan/moz)924
firefox, browsers, performance, spidermonkey, javascript-engines
[JavaScript] Operator Lookup (jos)923
operators
Compile Svelte in Your Head922
svelte, compiling
The Good Web and the Bad Web (kzi)921
web, mastodon, wikipedia, internet-archive
Advanced GraphQL Usage in Gatsby Websites (sma)920
gatsby, graphql
Basic Math in JavaScript—Numbers and Operators (mdn)919
math, operators
Animating React Components With GreenSock (sma)918
react, gsap, components, animations
Modifying Specific Letters With CSS and JavaScript (css)917
css
Working With JavaScript Media Queries (css)916
media-queries
Run JavaScript When Variable Exists (sea)915
variables
Loading Third-Party JavaScript (add)914
performance
“this” in JavaScript and TypeScript (dea)913
typescript
[JavaScript] Minification Benchmarks (hir)912
minification, tooling, metrics, comparisons, oxc, swc, bun, esbuild
JS Minification Benchmarks911
minification, metrics
Better Error Handling in Node.js With Error Classes (sma)910
nodejs, errors
Accessibility on the Canvas With JavaScript909
accessibility, canvas
Introduction to Memoization in JavaScript (hic)908
introductions, memoization
How to Use Styled Components in React (ade/sma)907
how-tos, react, css-in-js, css
JavaScript to Know for React (ken)906
react
Most Popular JavaScript Frameworks in 2020905
frameworks, react, angular, vuejs, nodejs, svelte, comparisons
JavaScript Event Delegation: A Beginner’s Guide904
guides, events
A Brief Introduction to WebGL903
introductions, webgl
Learn Deno: A Secure JavaScript and TypeScript Runtime902
deno, runtimes, typescript
Namespaces in JavaScript (fla)901
namespaces
What Is Type Coercion in JavaScript ?900
operators, concepts
90’s Cursor Effects899
cursors, effects
App Shell UX With Service Workers and Streams (jef)898
web-apps, single-page-apps, architecture, web-workers, streaming
An Overview of Scroll Technologies (zac/css)897
overviews, scrolling, animations, css, tooling
Easing Animations in Canvas (css)896
canvas, animations
A Little Bit of Plain JavaScript Can Do a Lot (b0r)895
css
JavasSript RORO Pattern894
software-design-patterns
How to Get All Custom Properties on a Page in JavaScript (tyl/css)893
how-tos, css, custom-properties
30 Seconds of Code892
websites, css, techniques
Today’s JavaScript, From an Outsider’s Perspective (lea)891
The Third Age of JavaScript (swy)890
retrospectives, outlooks
Static Hoisting889
What Every JavaScript Developer Should Know About Unicode888
unicode
Still Using Node.js? Deno 1.0 Is Here! (ant)887
nodejs, deno, runtimes, typescript
In Defense of the Modern Web (ric)886
react, svelte
Styling Components in React (sma)885
react, components, css, sass, css-in-js
Maybe You Don’t Need That SPA884
single-page-apps, react, marko, performance
Manipulating Arrays and Objects in JavaScript883
videos, arrays, objects
Alpine.js: The JavaScript Framework That’s Used Like jQuery, Written Like Vue, and Inspired by Tailwind CSS (cod/css)882
alpinejs, frameworks, jquery, vuejs, tailwind, comparisons
Implementing Dark Mode in React Apps Using styled-components (sma)881
dark-mode, react, components
The Cost of JavaScript Frameworks (tka)880
frameworks, performance, metrics, jquery, vuejs, angular, react
Can JavaScript Detect the Browser’s Zoom Level? (chr/css)879
zooming, apis
Learn Programming (jad)878
websites, courses, programming
Rename a File With JavaScript in the Browser (rik)877
file-handling
How to Create a Particle Trail Animation in JavaScript (sma)876
how-tos, animations
How to Create a Native Web Component Without a Framework875
how-tos, web-components
On the Responsibility That Comes With Good JavaScript Support (j9t)874
support
Performance Tips: Minifying HTML, CSS, and JS873
videos, performance, html, css, minification, tips-and-tricks
The Economics of JavaScript Web Apps872
web-apps, economics
Console Commands Guide (css)871
guides, debugging, console, dev-tools, browsers
How We Learned to Draw Text on HTML5 Canvas870
html, canvas, apis, svg
What Is Node and When Should I Use It?869
nodejs, npm
Why JavaScript Is Eating HTML (css)868
html, css, maintainability
What Is Memoization?867
memoization, concepts
Understanding Map and Set in JavaScript866
How to Automatically Update Your JavaScript Dependencies (spa/clo)865
how-tos, dependencies, automation, processes, security
Understanding Immutability in JavaScript (css)864
The History of JavaScript: A Journey From Netscape to Frameworks and Libraries863
history, frameworks, libraries, netscape
Padding Strings and Numbers With JavaScript862
strings
2019 JavaScript Rising Stars (sac)861
frameworks, nodejs, react, vuejs, angular, testing, compiling, building, tooling, mobile, css-in-js, graphql, retrospectives
Understanding Async Await (sar/css)860
asynchrony, promises
Interactivity and Animation With Variable Fonts (man/24w)859
variable-fonts, fonts, animations, css
JavaScript Loops Made Easy (cod)858
videos, loops
How to Remove an Array Element by Index in JavaScript857
how-tos, arrays
How TypeScript Makes You a Better JavaScript Developer856
typescript
JavaScript Isn’t Always Available and It’s Not the User’s Fault (ada)855
support, feature-detection, progressive-enhancement
Writing Asynchronous Tasks in Modern JavaScript (jer/sma)854
Creating Custom JavaScript Syntax With Babel853
babel
A Re-Introduction to Destructuring Assignment (sma)852
introductions, arrays
It’s Not Wrong that “'🤦🏼‍♂️'.length == 7” (hsi)851
unicode
Migrating From JavaScript to TypeScript in a Real World React Project (hcr)850
migrating, typescript
“Must Work Without JavaScript” (j9t)849
support
Should a Website Work Without JavaScript? (chr/css)848
support
Working With Attributes on DOM Elements (css)847
dom, attributes, custom-data, html
Faster Image Loading With Embedded Image Previews (sma)846
images, performance, lazy-loading, techniques
The Differing Perspectives on CSS-in-JS (chr/css)845
css-in-js, css, comparisons
What the Heck Are CJS, AMD, UMD, and ESM in JavaScript?844
modules, commonjs, esm
Browsers Are Pretty Good at Loading Pages, It Turns Out843
rendering, performance, browsers
Frontend Design, React, and a Bridge Over the Great Divide (bra)842
html, css, react, career
Finally… a Post on Finally in Promises (sar/css)841
promises, asynchrony
Improve Your JavaScript Knowledge by Reading Source Code (sma)840
learning
Types or Tests: Why Not Both? (swy/css)839
types, testing, type-safety
Responsible JavaScript (mal/ali)838
tree-shaking, code-splitting, embed-code, transpiling, performance, tooling
The Thinking Behind Simplifying Event Handlers (not/css)837
events, examples
Getting to Know the MutationObserver API (lou/sma)836
apis, dom
In Defense of the Ternary Statement (bur/css)835
operators, conditionals
What’s Next for Web Development? (jch)834
wordpress, php
Clever JavaScript Does Not Mean Simple or Readable (cfe)833
simplicity
Yet Another JavaScript Framework (jay/css)832
frameworks, mootools, history
JS vs. Java—Dynamic Typing831
java, comparisons
An Introduction to Web Components (css)830
introductions, web-components, shadow-dom, html
Creating Accessible HTML5 Modal Dialogs for Desktop and Mobile (zol)829
html, modals, accessibility
A Quick Intro to Higher-Order Functions in JavaScript828
introductions, functions
Using IntersectionObserver to Check if Page Scrolled Past Certain Point (chr/css)827
scrolling, apis
How to Avoid DOM Blocking in JavaScript (cra)826
how-tos, dom, performance
Get Started With Node: An Introduction to APIs, HTTP, and ES6+ JavaScript (sma)825
introductions, nodejs, apis, http
An Introduction to Web Bluetooth (htm/sma)824
introductions, apis
Guide to Web Authentication823
websites, authentication, webauthn, security
The Great Divide (chr/css)822
html, css, career
Why I’ve Stopped Exporting Defaults From My JavaScript Modules (nza)821
modules
Get All Font Sizes in Use on a Web Page (zac)820
fonts, css, console
CSS for JavaScripters (ppk)819
css, json
2018 JavaScript Rising Stars (sac)818
frameworks, nodejs, react, vuejs, angular, mobile, compiling, building, testing, tooling, code-editors, css-in-js, graphql, retrospectives
Don’t Stop Learning Frameworks (zac)817
frameworks, learning
Different Result From “Array.sort()”?816
arrays, chrome, safari, browsers
Best JavaScript Frameworks, Libraries, and Tools to Use in 2019 (cra)815
frameworks, libraries, tooling, link-lists
An Extensive Guide to Progressive Web Applications (sma)814
guides, progressive-web-apps, web-apps, web-workers
Avoiding the Pitfalls of Automatically Inlined Code (sma)813
css, php, wordpress
JavaScript Is for Web Apps, Not for Websites812
web-apps