DEV Community

JavaScript

Once relegated to the browser as one of the 3 core technologies of the web, JavaScript can now be found almost anywhere you find code. JavaScript developers move fast and push software development forward; they can be as opinionated as the frameworks they use, so let's keep it clean here and make it a place to learn from each other!

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Stop Wrapping Everything in Promise.all: How Unbounded Concurrency Crashes APIs

Explains why Promise.allSettled fails here

Stop Wrapping Everything in Promise.all: How Unbounded Concurrency Crashes APIs

24
Comments 13
4 min read
Next.js `revalidatePath` vs `revalidateTag` in 2026: Choosing the Right Cache Invalidation Primitive at Scale

Next.js `revalidatePath` vs `revalidateTag` in 2026: Choosing the Right Cache Invalidation Primitive at Scale

1
Comments 2
14 min read
My tests were green. They caught 0 of 10 real bugs.

My tests were green. They caught 0 of 10 real bugs.

2
Comments 6
5 min read
Next.js use cache Reused the Same Cache Entry for Different Files Before 16.4.5

Exposes severe cross-user caching bugs

Next.js use cache Reused the Same Cache Entry for Different Files Before 16.4.5

27
Picked as gem Comments 16
18 min read
Bar, blots and the larger-die rule: how I coded backgammon in JavaScript

Bar, blots and the larger-die rule: how I coded backgammon in JavaScript

Comments
6 min read
A supplier sent prices effective in twenty nine days and our Node.js timer applied them in one millisecond

A supplier sent prices effective in twenty nine days and our Node.js timer applied them in one millisecond

Comments
2 min read
The same flow field ran 2.4x faster on a 144 Hz monitor

The same flow field ran 2.4x faster on a 144 Hz monitor

Comments
3 min read
revalidateTag Only Cleared One of Our Two Sites: Same Next.js Code, Same Database, Separate Caches

revalidateTag Only Cleared One of Our Two Sites: Same Next.js Code, Same Database, Separate Caches

Comments
5 min read
I Almost Leaked My Production Tokens in a HAR File — Here's the Fix (100% Local)

I Almost Leaked My Production Tokens in a HAR File — Here's the Fix (100% Local)

Comments
3 min read
I replaced every random draw in my user simulator, and it finally became useful

I replaced every random draw in my user simulator, and it finally became useful

1
Comments
5 min read
Building a hearing test in the browser with the Web Audio API (and why we refuse to call it an audiogram)

Building a hearing test in the browser with the Web Audio API (and why we refuse to call it an audiogram)

Comments
5 min read
TypeScript `Const` Assertions on Function Arguments in 2026: When Inline `as const` Beats a Generic Constraint

TypeScript `Const` Assertions on Function Arguments in 2026: When Inline `as const` Beats a Generic Constraint

Comments
12 min read
The AI SDK's MCP drift check doesn't hash readOnlyHint: what that would miss, counted on 14,009 servers

The AI SDK's MCP drift check doesn't hash readOnlyHint: what that would miss, counted on 14,009 servers

1
Comments 1
9 min read
npm ERESOLVE: --legacy-peer-deps vs --force (What Each Really Does)

npm ERESOLVE: --legacy-peer-deps vs --force (What Each Really Does)

Comments
7 min read
I Measured My MCP Server's Context Tax Before Adding a Third Tool

I Measured My MCP Server's Context Tax Before Adding a Third Tool

Comments
4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.