MomCoder_'s profile picture. Mom | Unlearning and learning everyday | Front end developer | Angular .

Mom Coder

@MomCoder_

Mom | Unlearning and learning everyday | Front end developer | Angular .

#Angular dependency injection is way more powerful than one might think. We can, for example, use it to choose which implementation of a service to use. Here is an example of using a `console.log` logger in development and another one in production:

Armandotrue's tweet image. #Angular dependency injection is way more powerful than one might think. We can, for example, use it to choose which implementation of a service to use. Here is an example of using a `console.log` logger in development and another one in production:


A good read on proper communication between parent and child components. Not every communication has to be done using Input and Output decorators. ViewChild gives excellent control over the child components to access its properties or methods ! blogs.perficient.com/2021/01/24/pro….

blogs.perficient.com

Proper Communication between Angular Components / Blogs / Perficient

Communicate properly between parent and child Angular components.


Mom Coder reposted

What if I told you HostListeners in #Angular are dangerous?😱 Every time a user scrolls in this scenario Change Detection will run application-wide: Learn about the inner zone and the outer zone. You don't want change detection to run 20 times per second🤓

brechtbilliet's tweet image. What if I told you HostListeners in #Angular are dangerous?😱 Every time a user scrolls in this scenario Change Detection will run application-wide:
Learn about the inner zone and the outer zone. You don't want change detection to run 20 times per second🤓
brechtbilliet's tweet image. What if I told you HostListeners in #Angular are dangerous?😱 Every time a user scrolls in this scenario Change Detection will run application-wide:
Learn about the inner zone and the outer zone. You don't want change detection to run 20 times per second🤓

To build a strong grip in your technology, getting into the ecosystem is essential! fluin.io/blog/welcome-t…


United States Trends

Loading...

Something went wrong.


Something went wrong.