Skip to content

Writing

All posts

2 posts tagged "debugging". Filter by tag below.

2 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
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