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.
The Command Pattern with Discriminated Unions: A 90-Line Undo/Redo

The Command Pattern with Discriminated Unions: A 90-Line Undo/Redo

1
Comments
13 min read
The Strategy Pattern in TypeScript: Discriminated Unions Beat Subclasses

The Strategy Pattern in TypeScript: Discriminated Unions Beat Subclasses

1
Comments
10 min read
Common Mistakes Senior QA Engineers Make (And How to Fix Them)

Common Mistakes Senior QA Engineers Make (And How to Fix Them)

4
Comments
3 min read
How I Added a Razorpay Paywall to My React App in 10 Minutes

How I Added a Razorpay Paywall to My React App in 10 Minutes

Comments
2 min read
Building Arlo — A Custom Discord Bot for a Writers Community

Building Arlo — A Custom Discord Bot for a Writers Community

1
Comments
3 min read
State Machines in TypeScript: A 60-Line Type-Safe Engine

State Machines in TypeScript: A 60-Line Type-Safe Engine

1
Comments
11 min read
Build a Type-Safe Event Bus in TypeScript

Build a Type-Safe Event Bus in TypeScript

1
Comments
12 min read
Phantom Types in TypeScript: Stop Mixing Kilograms and Pounds at Compile Time

Phantom Types in TypeScript: Stop Mixing Kilograms and Pounds at Compile Time

1
Comments
11 min read
Distributive Conditional Types: The Gateway to Advanced TS

Distributive Conditional Types: The Gateway to Advanced TS

1
Comments
8 min read
Kotlin `apply` / `also` / `with` Don't Translate to TypeScript

Kotlin `apply` / `also` / `with` Don't Translate to TypeScript

1
Comments
9 min read
INP Is Not Just a Faster FID

INP Is Not Just a Faster FID

1
Comments
4 min read
Laravel Collections Are Just Better Arrays. TypeScript Has 90% Too.

Laravel Collections Are Just Better Arrays. TypeScript Has 90% Too.

1
Comments
9 min read
Stop Writing `for` Loops in TypeScript. 2026 Way to Pipeline Data.

Stop Writing `for` Loops in TypeScript. 2026 Way to Pipeline Data.

1
Comments
9 min read
The package.json exports Map Is the Most Important File You're Writing Wrong

The package.json exports Map Is the Most Important File You're Writing Wrong

1
Comments
11 min read
Stop Hand-Copying Java .properties Into Your JS Stack

Stop Hand-Copying Java .properties Into Your JS Stack

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.