Рет қаралды 12,734
#angular #angularperformance #webdevelopment #frontpro
This video explains what is Angular Change Detection Strategy onPush and Default?
What is angular zone.js?
What are smart and dumb components in Angular and when they should be used with the actual use case?
Change Detection means updating the DOM whenever data is changed. Angular provides two strategies for Change Detection. In its default strategy, whenever any data is mutated or changed, Angular will run the change detector to update the DOM.
#angular #webdevelopment #frontpro #angulardevelopment #angular10
Zone.js
github.com/ang...
My gear for shooting this video
Microphone
amzn.to/3YmmZbi
MacBook
amzn.to/45dvQyg
===========================================================
Do you know Angular services are not always singleton? How angular service scope gets created?
• Do you know Angular se...
Why my service behavior is unexpected? How angular service works when provided at a different level like root level, with lazy loaded modules, or at the component level? What are module scoped services?
When Angular service creates a single object (singleton) or multiple instances?
This video describes all these questions with examples. See you in the video.
===========================================================
Angular Web Worker | Responsive UI | Live Demo | Code shared - Github
• Angular Web Worker | R...
JavaScript being a single-threaded language has to run all the code in the browser as well as perform reflow, paint, and garbage collection. This can lead to an unresponsive UI if the script contains CPU-intensive tasks.
Learn how to use web workers in JavaScript to create parallel programming and perform multiple operations simultaneously rather than interleaving them.