DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
React `useActionState` in 2026: Replacing `useReducer` for Server-Driven Form Logic

React `useActionState` in 2026: Replacing `useReducer` for Server-Driven Form Logic

Comments 3
13 min read
A local app cannot keep a secret from its owner, so stop pretending

A local app cannot keep a secret from its owner, so stop pretending

Comments
4 min read
The guard that stops our automation from following a link

The guard that stops our automation from following a link

Comments
4 min read
How We Built a Human-in-the-Loop Pipeline for AI-Generated Coloring Pages

How We Built a Human-in-the-Loop Pipeline for AI-Generated Coloring Pages

1
Comments
6 min read
JSON.parse throws on every token your LLM streams. Here's a 425-byte fix.

JSON.parse throws on every token your LLM streams. Here's a 425-byte fix.

1
Comments 1
4 min read
Treating "failed" as terminal: idempotency when you cannot ask the recipient

Treating "failed" as terminal: idempotency when you cannot ask the recipient

Comments 1
4 min read
Your Type Guard Can Silently Drift from Your TypeScript Type đź”§

Forgotten guard updates risk silent runtime bugs

Your Type Guard Can Silently Drift from Your TypeScript Type đź”§

81
Picked as gem Comments 53
6 min read
How to Parse Resume PDFs Extract Text and Structure Model Ready Fields

How to Parse Resume PDFs Extract Text and Structure Model Ready Fields

Comments 1
6 min read
Crowdsourcing data into a health app with no moderation queue

Crowdsourcing data into a health app with no moderation queue

1
Comments
6 min read
How I Integrated WebMCP into My Developer Portfolio (And Turned It into an AI-Callable Agent)

How I Integrated WebMCP into My Developer Portfolio (And Turned It into an AI-Callable Agent)

Comments
3 min read
Next.js Core Web Vitals Optimization: What to Measure Before Rewriting

Next.js Core Web Vitals Optimization: What to Measure Before Rewriting

Comments 1
4 min read
Background Agents: Four-Layer Fault Tolerance for Long-Running Code Sessions

Background Agents: Four-Layer Fault Tolerance for Long-Running Code Sessions

1
Comments 2
7 min read
I caught my AI agent lying to me

I caught my AI agent lying to me

Comments 5
4 min read
One payment can run our webhook four times, and the token has to come out the same every time

One payment can run our webhook four times, and the token has to come out the same every time

1
Comments 3
7 min read
Four regexes and a staleness rule: how my phone agent refuses to call 'probably fine' a booking

Four regexes and a staleness rule: how my phone agent refuses to call 'probably fine' a booking

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