I've been buying Angular tutorials for a while now, to find the one with the best explanation. I've found your tutorials now, and I'm not looking back. This is the best one on the market. Thank you for your effort!
this is a great service that ProAcademy is doing,,, ... i learnt angular through these vidoes .. thanks a lot ProAcademy ... ur really a pro in teaching... If the source code is also shared then that will be a great work that none can do......
Gratitude for awesome tutorials, first of all! My query is at 4:38 : How to decide if to specify the data type as ElementRef or HtmlInputElement for the HTML input elements in TypeScript code? Context: In some of the previous tutorials we have used ElementRef type while in other previous tutorials we have used the other data type.
HTMLInputElement is an interface in the DOM API specifically for input elements of type input. It represents an element and provides access to its specific properties and methods. It includes properties such as value, checked, disabled, and methods like focus()
while ElementRef is a class provided by Angular that wraps a native element in the DOM. It allows you to access and manipulate the underlying native element using its properties and methods. ElementRef provides a way to access the DOM element directly, regardless of its specific type. It is commonly used when you need to perform low-level DOM manipulations or interact with third-party libraries that require direct access to the native element.
Good stuff! Do you (or does anyone reading this) have a tutorial on what each hook is most appropriate for? ngOnint and ngOnDestroy are rather easy to understand, but what about the rest?
I am new with Angular and have a question regarding the last lifecycle hook ngOnDestroy(). Why after you had run 'Destroy Button' only ngOnDestroy() hook was called but others not ? I mean the ones that run on every detection run ?
I assume that the ngDoCheck() hook is called AFTER DoCheck has finished running. And that DoCheck calls the OnChange methods and ngOnChanges(). So that is why ngOnChanges() is called BEFORE ngDoCheck() (which seems a little counter-intuitive). Is that correct?
sir aap please ppt upload kar sakte kya purrana link kam ni kar raha aur sir itna achha samjhaya apne maaza aa gaya ab mein aur hooks use karuga phele sirf oninit aur afterviewinit karta tha
HTMLInputElement is an interface in the DOM API specifically for input elements of type input. It represents an element and provides access to its specific properties and methods. It includes properties such as value, checked, disabled, and methods like focus() while ElementRef is a class provided by Angular that wraps a native element in the DOM. It allows you to access and manipulate the underlying native element using its properties and methods. ElementRef provides a way to access the DOM element directly, regardless of its specific type. It is commonly used when you need to perform low-level DOM manipulations or interact with third-party libraries that require direct access to the native element.
I have covered it in my future lectures....but honestly....it comes from experience. If you know the concepts...with experience it will become clear when to use which lifecycle hook :)
ngDoCheck is called very often, on each change detection run, and you should normally avoid to use it to avoid performance problems. It will detect the changes on any element, content or view change behavior. ngAfterViewChecked is only called after the bindings of the view children are checked (it is related to the view only).
I have alredy covered most of the topics in JavaScript. However i have not created a single playlist for all JavaScript related content. I will do it very soon. For now you can find different playlist for different JavaSCript topics on my channel. Sorry for the inconvenience.
Just one suggestion please edit your video title. Remove + from title.Like Angular 12+ your channel is not available if someone search using keyword 'angular 12'