Glossary term
What is detached DOM node? Meaning for developers
An element that was removed from the page but is still referenced by JavaScript. Its whole subtree stays in memory.
Learn it properly · Scenario DebuggingLesson 4: Memory Leaks in Single-Page AppsTimers and listeners that are never cleared, detached DOM nodes, closures that hold big objects and caches that only grow. Also how to confirm a leak with heap snapshots.