Juanchi.dev
Digital Native · real systems
·
HomeCVBlogLabContact
Skip to content
Juanchi.dev
Digital Native · real systems
·
HomeCVBlogLabContact

Tag: next.js

11
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 04 2026

revalidatePath is brute force, revalidateTag is precision

I confused revalidatePath with revalidateTag on a small project and ended up invalidating pages that had nothing to do with the change. Here's the real difference between the two cache granularities in Next.js 16, with a decision checklist.

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

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 07 2026

Functional programming with TypeScript: what fp-ts teaches you even if you never ship it

fp-ts is a university, not a production framework for most teams. But ignoring it completely means leaving genuinely valuable concepts on the table. An honest walkthrough of Option, Either, and pipe from the perspective of strict TypeScript in the real world — plus the uncomfortable question of whether you actually need it.

Aug 07 2026 · 10′ · Tutorials · Next.js · TypeScript

10′
Jul 23 2026

Strict Null Checks in TypeScript: What the Compiler Won't Tell You and Where It Actually Hurts in Production

Compiler says OK. Runtime explodes anyway. Here are the 4 patterns where strict null checks isn't enough: assertion functions, untyped libraries, Prisma ORM, and JSON.parse — with real code from a Next.js/Prisma stack.

Jul 23 2026 · 8′ · Tutorials · Next.js · TypeScript

8′
Jun 22 2026

How I built a self-auditing editorial pipeline with AI

The README on juanchi.dev says "portfolio landing". The code says something else: an editorial system with repo ingestion, quality gate, automatic rewriting, and crons on Railway. The technical story the README doesn't tell.

Jun 22 2026 · 6′ · Next.js · TypeScript

6′
Jun 02 2026

tsgo: what changes in the TypeScript compiler rewritten in Go and what it means for real projects

tsgo is real and the performance jump is verifiable — but the beta has documented limits that most posts quietly ignore. Here's the concrete criteria for deciding whether to explore it today or wait for stable.

Jun 02 2026 · 8′ · Tutorials · Next.js · TypeScript

8′
May 21 2026

Rate limiting in web apps: what to protect before picking a library

Before you install any rate limiting middleware in Next.js, you need to define what asset you're protecting, what abuse you're expecting, and what a false positive actually costs you. The library is the last decision. The policy is the first.

May 21 2026 · 8′ · Tutorials · Next.js · TypeScript

8′
May 10 2026

pnpm vs npm vs yarn in 2026: I ran all three on my real monorepo and it forced me to change my mind

I ran all three package managers on the same Next.js 16 + strict TypeScript monorepo with Shadcn/ui and Radix UI. pnpm wins on disk and CI — but there's a real compatibility cost the migration guides never tell you about.

May 10 2026 · 8′ · Experiments · Next.js · TypeScript

8′

Series

  • Open Data and Creativity2
  • Awesome Curated: The Tools11
  • Awesome Curated1
See all

Clusters

  • Software architecture

Categories

  • Experiments99
  • Tutorials88
  • Opinion44
  • Reflections18
  • Technology8
  • History6

Tags

  • #TypeScript
  • #arquitectura
  • #nextjs
  • #railway
  • #java
  • #LLM
  • #postgresql
  • #ia
  • #prisma
  • #software-architecture
  • #firma-digital
  • #AI

Popular

  1. 01pnpm vs npm vs yarn vs bun: The Real Comparison Nobody Gives You in 2025
  2. 02Next.js App Router: The Guide I Wish I Had When I Migrated from Pages Router
  3. 03TypeScript: The Patterns I Actually Use Every Single Day
  4. 04Docker for Node.js Developers: From Zero to Production Without Losing Your Mind
  5. 05Your Digital Signing Cryptography Has an Expiration Date: What NIST Published and How to Migrate Your HSM

Newsletter

One email a week. What I'm learning, building, and breaking.

All
Experiments
Tutorials
Opinion
Reflections
Technology
History

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.

GitHubRSS© 2026 Juan Torchia · All rights reserved.

Real code. Unfiltered takes.

Architecture, real systems, product decisions and technical lessons. Everything reviewed with my own judgment before it ships.

226 articles published

Series

  • Open Data and Creativity2
  • Awesome Curated: The Tools11
  • Awesome Curated1
See all

Clusters

  • Software architecture

Categories

  • Experiments99
  • Tutorials88
  • Opinion44
  • Reflections18
  • Technology8
  • History6

Tags

  • #TypeScript
  • #arquitectura
  • #nextjs
  • #railway
  • #java
  • #LLM
  • #postgresql
  • #ia
  • #prisma
  • #software-architecture
  • #firma-digital
  • #AI

Popular

  1. 01pnpm vs npm vs yarn vs bun: The Real Comparison Nobody Gives You in 2025
  2. 02Next.js App Router: The Guide I Wish I Had When I Migrated from Pages Router
  3. 03TypeScript: The Patterns I Actually Use Every Single Day
  4. 04Docker for Node.js Developers: From Zero to Production Without Losing Your Mind
  5. 05Your Digital Signing Cryptography Has an Expiration Date: What NIST Published and How to Migrate Your HSM

Newsletter

One email a week. What I'm learning, building, and breaking.

Blog
Uses
Now