Skip to content

Writing

All posts

7 posts on web engineering. Filter by tag below.

Featured2 min read

useEffect Cleanup: Avoiding Memory Leaks in React 19

A missing cleanup function is the most common cause of stale state and memory leaks in React. Here is when you need one and how to write it correctly in React 19.

reactjavascriptdebugging
Read article
2 min read

Tailwind CSS v4 Tips for Next.js

Tailwind CSS v4 drops the JavaScript config in favor of CSS-first setup. Here are practical tips for using it cleanly in a Next.js 16 App Router project.

tailwindnext.jscss
2 min read

TypeScript Utility Types You Should Actually Use

TypeScript ships a set of built-in utility types that remove most of the hand-written generics people reach for. Here are the five that earn their place in everyday code.

typescriptjavascript
3 min read

How to Add a Sitemap in Next.js 16

Next.js 16 builds /sitemap.xml from a single app/sitemap.ts file. Here is the exact code to list your static routes and blog posts for Google.

next.jsseotypescript
2 min read

Measuring Core Web Vitals in a Next.js App

You cannot improve what you do not measure. Here is how to capture real Core Web Vitals from your Next.js App Router site and where each metric usually goes wrong.

next.jsperformance
3 min read

Fix: "Hydration failed" in Next.js 16

A hydration mismatch means the server HTML and the first client render disagree. Here are the real causes in Next.js 16 and how to fix each one.

next.jsreactdebugging