Juanchi.dev
Digital Native · real systems
·
HomeCasesCVBlogLabContact
Juanchi.dev
Digital Native · real systems
·
HomeCasesCVBlogLabContact

TypeScript in production

The blog's deepest topic: 91 posts on strict types, compiler limits, ecosystem tooling, and decisions you pay for in production.

  • Strict types and their limits

    What the compiler guarantees, what it does not, and where type safety ends.

  • Package managers and monorepos

    pnpm, npm, yarn, and bun compared on real repos, not marketing benchmarks.

  • Browser APIs that fail

    Cases where the type signature says one thing and the runtime does another.

Recommended reads

View more
Sep 09 2026

Claude API Key Security: Why .env Is Not Optional

Pasting a Claude or DeepSeek API key straight into your code "just to test it quick" leaves a trail in your git history and your logs. A no-nonsense guide to environment variables, rotation, and what to check before sharing a repo.

Sep 09 2026 · 7′ · Tutorials · nextjs · anthropic

7′
Sep 08 2026

The gap between your Server Action and your UI has a name: setQueryData

The Server Action resolves, the toast says "saved," and the UI still shows the old data for a beat. That beat is the gap setQueryData closes without waiting for the full server roundtrip.

Sep 08 2026 · 7′ · Tutorials · Next.js · React

7′
Sep 08 2026

fp-ts Alternatives in TypeScript: When the Abstraction Is Worth It

After showing how a native union type replaces Either and Option in most cases, now comes the uncomfortable part: saying where fp-ts actually wins. It's not everywhere, and that's the point.

Sep 08 2026 · 7′ · Tutorials · TypeScript · node.js

7′
Aug 29 2026

pnpm wins in monorepos, npm wins on zero friction

The difference between npm and pnpm isn't install speed. It's a different storage model — content-addressable store vs a folder tree — and that model matters based on project size, not on what's trendy.

Aug 29 2026 · 8′ · Tutorials · Next.js · pnpm

8′
Aug 17 2026

Server Actions Solves Your Mutation, Not Your Cache

Server Actions in Next.js 16 App Router makes mutations dead simple without writing an endpoint. But when you need client-side cache, optimistic revalidation, or reactive data shared across components, that's where Server Actions falls short — and TanStack Query steps in to solve that, not to replace it.

Aug 17 2026 · 8′ · Tutorials · TypeScript · app-router

8′
Aug 17 2026

Cline in production: the autonomous code agent for VS Code I use with deliberate constraints

Cline can create files, run commands, and open the browser autonomously from inside VS Code. That sounds like productivity. It also smells like risk if you haven't thought through the permissions before you start. My thesis: the mental model matters more than the tool.

Aug 17 2026 · 9′ · Tutorials · TypeScript · LLM

9′

Juanchi.dev is Juan Torchia’s public notebook — architecture, real systems and product decisions. Written and reviewed by hand in Buenos Aires. Built with Next.js, Prisma and PostgreSQL; deployed on Railway. No third-party trackers beyond aggregate analytics.

BlogUsesNowGitHubRSS© 2026 Juan Torchia · All rights reserved.