Have you wondered when to use the ActivatedRoute vs the ActivatedRouteSnapshot? This brief article outlines some ideas but the comments in the article clarify some common misconceptions about the observables utilized by the Angular Router.
The ActivatedRoute and its observables are insulated from the Router itself. The Router destroys a routed component when it is no longer needed and the injected ActivatedRoute dies with it.
Are you looking to improve your application startup time? See how implementing an app shell can improve your time to first paint.
If you've ever found yourself in a conversation with coworkers or friends in the position of having to defend the decision to use Angular in your applications, you know how passionately developers can feel about their choice of frameworks. This article is a balanced view of what makes Angular great while recognizing the value of competing frameworks like React.
Angular operates on a highly opinionated architecture — which means that your Angular app has to be written in a certain way for things to work properly. While this may sound rigid, the major perk is that once you learn the structures, every Angular app that you’ll ever come into contact will have something similar.
Jasmine provides the essentials out of the box to properly unit test your Angular apps. But have you ever needed to create a custom matcher?
Jasmine is a BDD framework which provides a lot of built-in matchers for unit testing. But, sometimes we have to create our own custom matchers to facilitate all the testing scenarios or to make more readable test cases.
Adding animations to your user interfaces can increase engagement with your users and create an overall more pleasing experience. Even with amazing animation libraries like Angular Animations, it can still take some time to achieve the desired effect. This article shows how to make the most of that time so you can reuse the animations that you create throughout your application.
Are you brave enough to automate your Angular upgrade? Are you wondering why or how you would accomplish this? Be sure to check this out and put your unit and e2e tests to the "test" to automate your Angular upgrade.