TLDR Tech / Dev
Your SPA Is Leaking Memory. Soak Test It
SPAs never reload, so leaked listeners, timers, and detached nodes accumulate until the tab dies. 86% of 500 scanned React/Vue/Angular repos register something they never clean up. The fix is a Playwright soak test that loops one round-trip flow a few hundred times in a single browser context, reads node and listener counts over CDP before and after (heap is too noisy), and asserts they don't climb.
Read the full story