Regrettably, possessing programming knowledge and familiarity with the topic does not automatically translate to being an effective teacher. Alongside technical expertise, proper communication skills and clear pronunciation are imperative to ensure that your audience is on the same page and fully engaged in the learning process
Please make one detailed series of videos on how to use chrome dev tools efficiently like performance, memory, and other advance features which we do not use generally in daily life.
Great video bro. It means a lot. Can you add a video to trace back memory leak if we have multiple modules, components and services? Thanks for your video.
Awesome explanation !!☺️... One question - Here we are fetching data after 2 seconds ...In case we are fetching data in ngInit method during component instialization ..Will this also create memory leakage if we hide that component ?
Hi Kamlesh, yes. If you have subscribed to some observable in ngOnInit, and that observable source is alive then your component will not be removed from memory. One simple example would be router param subscription. You can subscribe to router queryParams observable in constructor or ngOnInit, but if you don’t unsubscribe it in ngOnDestroy, you will get memory leak
this.obsService.broadCast$.subscribe() this subscribe can we write in diff method. Because I have tried in diff method it didn't work when I have written in ngOnInit() it worked.