Juanchi.dev
Digital Native · real systems
·
HomeCasesCVBlogLabContact
Skip to content
Juanchi.dev
Digital Native · real systems
·
HomeCasesCVBlogLabContact
AllExperimentsTutorialsOpinionReflectionsTechnologyHistory

Results for “TypeScript”

143
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′
Aug 14 2026

A native discriminated union already does what Either promises

I wrote about fp-ts this week and was left with an uncomfortable doubt: did I really need all that machinery? A look at when a native discriminated union solves the same problem as Either/Option without the learning curve.

Aug 14 2026 · 7′ · Tutorials · TypeScript · arquitectura de software

7′
Aug 14 2026

tsconfig paths in Next.js 16 App Router: when they help and when they silently break the build

Path aliases look innocent until the production build fails with no clear message. I documented the 3 most common breakage cases in a monorepo with Next.js 16 App Router and strict TypeScript, and the config pattern that survived.

Aug 14 2026 · 9′ · Tutorials · TypeScript · pnpm

9′
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′

Series

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

Clusters

  • Software architecture
  • TypeScript in production
  • Security and operations
  • Agents and LLMs with judgment

Categories

  • Experiments99
  • Tutorials90
  • 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.

Series

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

Clusters

  • Software architecture
  • TypeScript in production
  • Security and operations
  • Agents and LLMs with judgment

Categories

  • Experiments99
  • Tutorials90
  • 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.

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.

228 articles published

Blog
Uses
Now