ThanhDev
  • Articles
  • Categories
  • Tags
  • About

ThanhDev

Frontend engineering notes on React, Next.js, TypeScript and software architecture.

  • Articles
  • Categories
  • Tags
  • About
  • GitHub
  • LinkedIn
  • Website
  • Email

© 2026 ThanhDev. Built with Next.js, Prisma and PostgreSQL.

Tag

#React

  • React

    Understanding React Rendering

    A practical explanation of how React rendering actually works under the hood, and why most re-render bugs are really state placement bugs.

    • #React
    • #Performance
    Sep 5, 2026•2 min read•49 views
  • Next.js

    Next.js App Router: Server Components in Practice

    Where the server/client boundary actually belongs, and how to stop accidentally shipping your whole application to the browser.

    • #Next.js
    • #React
  • TypeScript

    TypeScript Discriminated Unions for Safer UI State

    Four booleans give you sixteen states, and twelve of them are nonsense. Model the four you actually have instead.

    • #TypeScript
    • #React
  • React

    TanStack Query or Server Components?

    Both fetch data, but they solve different problems. A decision guide instead of a turf war.

    • #React
    • #TanStack Query
    • Server Components
#Server Components
Aug 30, 2026•2 min read•882 views
Aug 23, 2026
•
2 min read
•543 views
#
Jul 30, 2026•2 min read•687 views