Skip to content
How Your Web App Leaks Memory with Event Listeners episode artwork

Jun 30, 2026 8 min

How Your Web App Leaks Memory with Event Listeners

from The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack Hosted by Fexingo

Episode 83 dives into a common but often overlooked cause of memory leaks in single-page applications: abandoned event listeners. Lucas and Luna walk through a real debugging session on a React dashboard that had grown sluggish over weeks, only to find that setTimeout and addEventListener calls in unmounted components were still holding references. They explain how JavaScript closures keep those handlers alive, how the browser's garbage collector gets blocked, and the three-line fix using AbortController that can reclaim hundreds of megabytes of memory. The episode also includes a quick, honest moment about how listener support via buy me a coffee dot com slash fexingo keeps the show ad-free and independent. If you've ever wondered why your web app gets slower the longer users stay on it, this episode gives a concrete diagnostic and fix. #JavaScript #MemoryLeak #EventListeners #WebDevelopment #React #GarbageCollection #AbortController #FrontendPerformance #setTimeout #SinglePageApplication #Debugging #ChromeDevTools #closure #Technology #FexingoBusiness #BusinessPodcast #WebDevWithFexingo #ListenerSupported Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

How Your Web App Leaks Memory with Event Listeners

0:00 8:02

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack?

This episode is 8 minutes long.

When was this The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack episode published?

This episode was published on June 30, 2026.

Can I download this The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.