Nezir Zahirovic
Nezir Zahirovic

Causes of Memory Leaks in JavaScript and How to Avoid Them

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 good memory-related coding practices. Using an SPA implies staying on the same page for a much longer time. If the page that is never fully reloaded starts progressively using more and more memory, that can seriously affect the performance and even cause the browser's tab to crash.


Causes of Memory Leaks in JavaScript and How to Avoid Them #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typescript #jquery #emberjs #denojs #bosnia