- Run
npm installfor the AngularJS here in the project root folder. - Run
npm installin the ngx folder. - Run
npm startin the ngx folder. - Open the app in the browser and take a Heap Snapshot (DevTools > Memory). There should be no
ContentComponentinside the heap. - Click the toggle button 5 times and take a Heap Snapshot. There are 5 instances of
ContentComponentin the heap, but should be 1 maximum.
cryve/angular-downgrade-memory-leak
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|