Ng-News: Episode 22/14
Rainer Hahnekamp
Posted on April 11, 2022
This is a weekly posting, covering the latest updates from the Angular community.
RFC: Standalone APIs
Alex Rickabaugh from the Angular core team published an RFC under the name “Standalone APIs”. It is based on Standalone Components, a new feature that will make NgModules optional. The use case here is, that although we can write our components as standalone, we still need NgModules for various tasks.
Think of the RouterModule for the routing configuration, the AppModule for bootstrapping, the HttpClientModule, the StoreModule in NgRx, etc.
The RFC “Standalone APIs” discusses alternative or new ways for these tasks,
The RFC is open for everyone, you are invited to comment and many people have already done that.
Angular Blog on Standalone APIs
nx 13.10 & Roadmap for v15
nx, an extension to the Angular CLI is available in v13.10. Most of the new Angular-related features are in the area of module federation.
But that’s not all of it. Juri Strumpflohner wrote an article where he gave a detailed overview of all the new features since version 13.5.
In addition, Viktor Savkin, the central person and co-founder of nx, published the roadmap for version 15. So that would be the next but one version. We can expect an automatic migration from Angular CLI projects, which contain multiple libraries and applications. The test execution will be faster and the Nx console, a plugin for VSCode, will get some additional features.
What's new in Nx 13.10?
Juri Strumpflohner for Nx ・ Apr 8 ・ 9 min read
Miscellaneous
Armen Vardanyan wrote a good article on use cases for the RxJs combination operators. So those that process multiple Observables.
Understanding RxJS use cases (part I)
Armen Vardanyan for This is Angular ・ Apr 7 ・ 6 min read
Vugar Abdullayev wrote a YouTube clone in Angular for three different monorepository tools: Lerna, TurboRepo and nx.
🌴You can have a look at Youtube Microfrontend clone using Angular and Module Federation + SSR. The app has 3 editions: Turborepo, Lerna and Nx. The results were suprising . Remote apps are only about ~25kb (~10kb gzip). #Angular Demo: youtube.vugar.app15:19 PM - 11 Mar 2022
Manfred Steyer published an article where he discusses in detail, how to deal with MicroFrontends, when multiple Angular versions or even different frameworks need to run together.
Blogged: Multi-Framework and -Version Micro Frontends with Module Federation: Your 4 Steps Guide
angulararchitects.io/aktuelles/mult…04:30 AM - 11 Apr 2022
Posted on April 11, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
September 7, 2022