Insufficient care about memory management generally doesn't produce dramatic consequences when it comes to "old-fashioned" web pages. While the user navigates through links and loads new pages, page information is removed from memory with each load. The rise of the SPA (Single Page Application) motivates us to pay more attention to memory-related JavaScript coding practices. If the application sta
![Causes of Memory Leaks in JavaScript and How to Avoid Them](https://cdn-ak-scissors.b.st-hatena.com/image/square/1c9aa76d63c5c3c87df932fafa879cf93d190ec2/height=288;version=1;width=512/https%3A%2F%2Fstatic.ditdot.hr%2Fimages%2Fdev%2F010%2Fcauses-of-memory-leaks-in-javascript-01.png)