Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more

đź‘‹Hey fellow Angular Addict

This is the 29th issue of the Angular Addicts Newsletter, a monthly collection of carefully selected Angular resources that caught my attention. (Here are the 28th, 27th and 26th issues)

📢Release announc…


This content originally appeared on DEV Community and was authored by Gergely Szerovay

đź‘‹Hey fellow Angular Addict

This is the 29th issue of the Angular Addicts Newsletter, a monthly collection of carefully selected Angular resources that caught my attention. (Here are the 28th, 27th and 26th issues)

📢Release announcements

📢 What's new in Angular 18.2?

Angular 18.2, the latest minor version of Angular, was released in August. CĂ©dric Exbrayat covers the key new features:

  • Automatic flush in fakeAsync
  • whenStable helper
  • defaultQueryParamsHandling in router
  • Migration to migrate dependency injection done via the constructor to the inject function
  • Migration to convert standalone components used in routes to be lazy-loaded
  • New diagnostics to catch uncalled functions in event bindings and unused @let declarations
  • Attribute-based loader configuration support in the builder

📢 Nx 19.5 is here! Stackblitz, Bun, Incremental Builds for Vite, Gradle Test Atomizer

The latest minor version of Nx was released last month. Zack DeRose summarizes the new feaures:

  • StackBlitz support
  • Bun and pnpm v9 support
  • Local flaky task detection
  • Project detail view enhancements
  • Pattern support for targetDefaults
  • Individual targets can now opt out of parallelism
  • Support for incremental builds for Vite
  • Project Crystal conversion generators
  • Gradle composite builds support
  • Experimental: Gradle test atomization
  • Experimental: Nx release adds file-based versioning support
  • Support for React 19 (rc) and Angular 18.1

đź’ŽAngular Gems of August, 2024

đź“°Implicit Libraries with Nx: Lightweight Angular Architectures by Convention

Manfred Steyer shows us an architecture where library configurations are derived by an Nx plugin using conventions. With implicit libraries, we can create a new library by creating a folder with an index.ts file.

The idea of implicit libraries comes from Younes Jaaidi's blog post. He also wrote a step by step guide on this topic.

đź“°Using isolatedModules in Angular 18.2

Angular 18.2 supports TypeScript isolatedModules. This feature may boost production build times. Mark Thompson and Charles Lyding explain how this feature works and how to set it up in an Angular project.

đź“°The future is standalone!

In Angular 19, standalone: true will be the default setting for components, directives, and pipes. Alex Rickabaugh clarifies that NgModules won't be deprecated, and there will be an automated migration which will:

  • Remove standalone: true for existing standalone components
  • Add standalone: false to existing NgModule components so they continue to work

đź“°Creating Envless Angular-application

In his article, Maksim Dolgikh explains how to move from hard-coded code for each environment to a universal build that can be used anywhere. He suggests two solutions:

  • Get the configuration from a config server
  • Use Docker and create JSON config files during the Docker image retrieval phase

đź“°Port a simple React Component to Angular

Chau Tran compares the composition models of React and Angular, explains how to use the Selection and Select components in React Three Fiber, and provides a detailed guide on porting these components from React to Angular.

👨‍💻About the author

My name is Gergely Szerovay, I worked as a data scientist and full-stack developer for many years, and I have been working as frontend tech lead, focusing on Angular based frontend development. As part of my role, I'm constantly following how Angular and the frontend development scene in general is evolving. To share my knowledge, I started the Angular Addicts monthly newsletter and publication in 2022, so that I can send you the best resources I come across each month. Whether you are a seasoned Angular Addict or a beginner, I got you covered. Let me know if you would like to be included as a writer. Let’s learn Angular together! Subscribe here 🔥

Angular has evolved very rapidly over the past few years, and in the past year, with the rise of generative AI, our software development workflows have also evolved rapidly. In order to closely follow the evolution of AI-assisted software development, I decided to start building AI tools in public, and publish my progress on AIBoosted.dev. Join my on this learning journey: Subscribe here 🚀

Follow me on Substack (Angular Addicts), Substack (AIBoosted.dev), Medium, Dev.to, Twitter or LinkedIn to learn more about Angular, and how to build AI apps with AI, Typescript, React and Angular!

🕹️Previous issues

If you missed the previous issues of the newsletter, you can read them here, these are the latest 3 issues:

📨 Submit your Angular resource

Have you found or written an interesting Angular-related article, tweet or other resource lately? Please let me know here in the comments or send me a DM on Twitter! I might feature it in the next Angular Addicts issue!


This content originally appeared on DEV Community and was authored by Gergely Szerovay


Print Share Comment Cite Upload Translate Updates
APA

Gergely Szerovay | Sciencx (2024-09-10T06:38:21+00:00) Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more. Retrieved from https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/

MLA
" » Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more." Gergely Szerovay | Sciencx - Tuesday September 10, 2024, https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/
HARVARD
Gergely Szerovay | Sciencx Tuesday September 10, 2024 » Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more., viewed ,<https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/>
VANCOUVER
Gergely Szerovay | Sciencx - » Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/
CHICAGO
" » Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more." Gergely Szerovay | Sciencx - Accessed . https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/
IEEE
" » Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more." Gergely Szerovay | Sciencx [Online]. Available: https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/. [Accessed: ]
rf:citation
» Angular Addicts #29: Angular 18.2, implicit libraries, the future is standalone & more | Gergely Szerovay | Sciencx | https://www.scien.cx/2024/09/10/angular-addicts-29-angular-18-2-implicit-libraries-the-future-is-standalone-more/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.