Skip to content

Writing

All posts

2 posts tagged "javascript". 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
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