Upgrading an enterprise website can be quite a task! Upgrading a site with hundreds of millions of users can be even trickier. Thankfully, the Angular team has made the upgrade process much simpler and faster with each release. Check out these strategies for keeping your website "evergreen" and why it's important.
We believe that in the current state of web development, falling behind on version updates is making development harder. Even if the Angular team is having LTS versions, the truth is that they will always prefer to work on their own latest codebase instead of going back to an old branch to look at an issue.
- The .subscribe() aka “The Memory Leak”
- The .unsubscribe()
- Let’s get declarative with takeUntil
- Use the take(1) for initialization
- The fabled | async pipe
- The detour — | async pipe taken too far
- The final destination — NgRx Effects
Bo knows NgRx! See how mocking can be an effective way to test your NgRx code in your Angular apps, especially if you are using NgRx 6+.
Have you ever wondered why Angular chose to use Incremental DOM vs Virtual DOM? Do you really understand what either of these two DOMs are or have you been too afraid to ask? Victor at Nrwl lays out the pros and cons of each approach and explains why Angular chose Incremental DOM vs Virtual DOM.
Angular 7.2 has dropped with the ability to pass a state object during navigation. How could this new feature help your app?
Do you know the pros and cons of using the async pipe vs. manually subscribing? This article places these two approaches in a head to head battle to determine a clear winner. So which one will win?
Sam Julien not only spoke at ng-conf 2019, but he also put together a very comprehensive and well organized summary of the state of Angular as presented at the conference. Included are links to the conference videos and a github repository of the speaker's slide decks. This content is relevant whether or not you were able to attend or watch the livestream of ng-conf.
If you're a fan of Uncle Bob's book, Clean Architecture, you'll enjoy this article that applies the principles of software design to Angular.
After we have seen in theory how a web application project can be structured according to Clean Architecture, let us see how we can implement this pattern in practice.
Component all the things! Seriously though, this is a great collection of best practices in component design.
The correct way of communicating between components is to let parent components pass down data to their children, and to let children notify the parents when an action has been performed.