javascript-code.dev
javascript
html
css
jquery
typescript
angular
node.js
reactjs
npm
arrays
Dark
angular lifecycle hooks
[1/1]
Alternative Methods to Constructor and ngOnInit in Angular
Constructor:Purpose: Initializes the component's properties and dependencies.Execution: Called once when the component instance is created
Understanding Angular Change Detection: Why ngOnChanges Isn't Firing for Nested Objects
Angular employs a strategy called "change detection" to keep the UI up-to-date whenever the underlying data in your application changes
1