Blog

Das 360°-Intensivtraining mit Angular-Koryphäe Manfred Steyer
20
Jan

JavaScript Trends 2020: „Ivy wird die Grundlage für viele Innovationen im Angular-Umfeld sein“

Die JavaScript-Welt ist stets in Bewegung. Welche Trends haben 2019 Fahrt aufgenommen, wohin geht die Reise 2020? Wir haben Angular-Experte Manfred Steyer um eine Bestandsaufnahme gebeten.

Hello Manfred! Thank you for taking the time to do this interview! What was your personal tech highlight in 2019?

Manfred Steyer: For me, Angular Ivy was definitely the highlight. Especially when you look at the whole internals, it becomes clear what potential there is. It goes far beyond optimized bundles and will be the basis for many innovations in the Angular environment.

Can you do that a little bit? What impact will Ivy have on the ecosystem in 2020?

Manfred Steyer:  In the short term, lightweight applications and components that don’t need many of Angular’s options will benefit the most. This also affects web components. Thanks to Ivy, we will get highly optimized bundles here that can compete with those of simpler frameworks or even undercut their footprint. Normal applications will benefit a little from Ivy in the short term, since the bundles should also become smaller here. But that depends very much on the application.

In the medium term, Ivy offers completely new opportunities in the Angular world.

In the medium term, Ivy offers completely new opportunities in the world of Angular, for example operation without NgModules. This concept always leads to confusion for beginners, because at first glance it makes no sense to have another Angular-specific one besides the ECMAScript module system. The Angular team, which NgModules had to introduce for technical reasons, also sees it that way. Thanks to Ivy, these NgModules will be optional sooner or later.

In the medium term, Ivy is also the key to dynamic components that are created on the fly, and thus also to the higher order components known from React. Internationalization also wants to be based on Ivy in the future. The idea is to implement a kind of one-time binding for translation texts. But lazy loading at component level and the expansion of Angular by third-party providers will be simplified or really made possible in the medium term by Ivy.

In addition, Ivy is the basis for Angular Photon. It is a highly experimental operating mode that takes server side rendering and lazy loading to the next level and will not only make Angular very attractive for customer-facing applications.

JavaScript trends 2020

Which JavaScript tool did you rediscover in 2019?

Manfred Steyer: I always find the library to be quite knorky. It immensely simplifies the use of immutables. You first mutate the state on a proxy. Then these changes are automatically played in an „immutable manner“. In combination with the new creators from NGRX, this is a really nice option. Those who want to marry these two worlds will find a good solution in ngrx-etc. It doesn’t really have many downloads, but it comes from the same person who implemented many of the creators in NGRX.

What didn’t you like about the WebTech world 2019?

I was amazed at the many undifferentiated discussions about micro frontends.

Manfred Steyer: I was a little surprised at the many undifferentiated discussions on the topic of micro frontends. In between, they had only read extreme positions. This is a shame because software architecture is about balancing different goals and because an architecture has to match your own goals. So there are no good or bad architectures. They are only more or less suitable for certain goals.

Your forecast for 2020: What do you absolutely have to know in 2020?

Manfred Steyer: I have the feeling that the JavaScript ecosystem is slowly stabilizing. Defacto standards have emerged and this keeps the wild growth in check. The WebAssembly topic is definitely interesting, but probably not as a JavaScript replacement (as some hope), but rather as a supplement to APIs. In 2020, even more developers will have to deal with architecture in the context of JavaScript, especially since JavaScript solutions are getting bigger and often require long-term maintenance.

Thank you for this interview!

Manfred Steyer is a programming architect, trainer and consultant with a focus on Angular, Google Developer Expert (GDE) and Trusted Collaborator in the Angular team. Manfred writes for O’Reilly, Heise and Java Magazin, speaks regularly at conferences.