Profile

Sneaky React Memory Leaks: How the React compiler won't save you

Some weeks ago, I wrote an article about how closures can lead to memory leaks in React when used in combination with memoization hooks like useCallback or useEffect. The article gained some attention in a couple of awesome newsletters such as TLDR WebDev, https://bytes.dev/, This...

Profile

Sneaky React Memory Leaks II: Closures Vs. React Query

This is a follow-up to “Sneaky React Memory Leaks: How useCallback and closures can bite you”. See that post for a general introduction to closures and memory leaks in React.* In this post, I will show you how React Query can lead to memory leaks...

Profile

Sneaky React Memory Leaks: How useCallback and closures can bite you

I work at Ramblr, an AI startup where we build complex React applications for video annotation. I recently encountered a complex memory leak that was caused by a combination of JavaScript closures and React’s useCallback hook. Coming from a .NET background it took me quite...

Profile

Faster Memory Debugging with Chrome's Quick Source Panel

Tired of jumping between the memory tab and the sources tab in Chrome Developer Tools? I have good news for you! Chrome has a lot of hidden features that can make your life easier. Enter Quick source. It’s a nifty panel that allows you to...

Profile

Understanding Distributed Systems

This book is a must-read for all backend and full-stack software engineers. Understanding distributed systems will provide you with the necessary overview and vocabulary to talk to fellow backend engineers and acts as a starting point for more in-depth research. Topics cover: Communication, from the...