DEV Community

Cover image for Episode 23/10: Performance Basics, Angular Misconceptions, Panel on Signals & RxJs
ng-news
ng-news

Posted on

Episode 23/10: Performance Basics, Angular Misconceptions, Panel on Signals & RxJs

Eduard Krivanek gave an overview of all performance-related Angular techniques. Armen Vardanyan wrote about common Angular misconceptions, and we had a panel discussion on how signals might impact RxJs.

Eduard Krivanek: Memoization and & Functional Calls in the Template

At the Angular Kenya meetup, Eduard Krivanek gave a talk with the title "Memoization & Functional Calls in the Template". In just a little bit more than half an hour, he gave a compact but detailed overview of all the important things you should when it comes to performance.

Like Zone.js, Change Detection, Profiling, how the OnPush works or how it does not. And how Angular uses the pipe internally.

He even went further and demonstrated a self-written decorator that transforms any function into a memoized one. That could be a useful alternative to a pipe when needed.

Armen Vardanyan: Angular Misconceptions

Armen Vardanyan came up with an article called "Angular Misconceptions". As the title says, he picked six of the most common misunderstands and clarified them.

For example:
Zone.js is not a prerequisite for the Change Detection. Zone.js is the main trigger but Change Detection can also run because of other reasons.

Don't use the EventEmitter like a Subject. This means, don't use the next method. The official API only lists the emit method. So be careful you might run into a future deprecation problem.

And the last one: Is is not a blasphemy to use template-driven forms, especially if the form is a simple one.

Panel Discussion: RxJs & Signals

We also had a panel discussion in the form of a Twitter Space. Hosted by Daniel Glejzner, the push-based team around Michael Hladky discussed the upcoming Signals and what impact they might have on future Angular applications

In short, they all agreed that RxJs will not vanish. Other than that, they also discussed a little bit Rx-Angular which is a performance related library.

Top comments (0)