


Angular Addicts # Angular 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 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 ?
Angular の詳細と、AI、Typescript、React、Angular を使用して AI アプリを構築する方法を学ぶには、Substack (Angular Addicts)、Substack (AIBoosted.dev)、Medium、Dev.to、Twitter、または LinkedIn で私をフォローしてください!
?️以前の問題
ニュースレターの前号を見逃した場合は、ここで読むことができます。これらは最新の 3 号です:
- Angular Addicts #28: Angular 18.1、コンポーネント テスト、SSR ガイドなど
- Angular Addicts #27: NgRx 18、新しい RFC: DomRef API、Signals を使用した Web ストレージなど
- Angular Addicts #26: Angular 18、ベスト プラクティス、最近のカンファレンスの記録など
? Angular リソースを送信する
最近、Angular 関連の興味深い記事、ツイート、またはその他のリソースを見つけたり書いたりしましたか?こちらのコメント欄かTwitterのDMでお知らせください!次の Angular Addicts 号で取り上げるかもしれません!
The above is the detailed content of Angular Addicts # Angular implicit libraries, the future is standalone & more. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











JavaScript is the cornerstone of modern web development, and its main functions include event-driven programming, dynamic content generation and asynchronous programming. 1) Event-driven programming allows web pages to change dynamically according to user operations. 2) Dynamic content generation allows page content to be adjusted according to conditions. 3) Asynchronous programming ensures that the user interface is not blocked. JavaScript is widely used in web interaction, single-page application and server-side development, greatly improving the flexibility of user experience and cross-platform development.

The latest trends in JavaScript include the rise of TypeScript, the popularity of modern frameworks and libraries, and the application of WebAssembly. Future prospects cover more powerful type systems, the development of server-side JavaScript, the expansion of artificial intelligence and machine learning, and the potential of IoT and edge computing.

Different JavaScript engines have different effects when parsing and executing JavaScript code, because the implementation principles and optimization strategies of each engine differ. 1. Lexical analysis: convert source code into lexical unit. 2. Grammar analysis: Generate an abstract syntax tree. 3. Optimization and compilation: Generate machine code through the JIT compiler. 4. Execute: Run the machine code. V8 engine optimizes through instant compilation and hidden class, SpiderMonkey uses a type inference system, resulting in different performance performance on the same code.

JavaScript is the core language of modern web development and is widely used for its diversity and flexibility. 1) Front-end development: build dynamic web pages and single-page applications through DOM operations and modern frameworks (such as React, Vue.js, Angular). 2) Server-side development: Node.js uses a non-blocking I/O model to handle high concurrency and real-time applications. 3) Mobile and desktop application development: cross-platform development is realized through ReactNative and Electron to improve development efficiency.

Python is more suitable for beginners, with a smooth learning curve and concise syntax; JavaScript is suitable for front-end development, with a steep learning curve and flexible syntax. 1. Python syntax is intuitive and suitable for data science and back-end development. 2. JavaScript is flexible and widely used in front-end and server-side programming.

This article demonstrates frontend integration with a backend secured by Permit, building a functional EdTech SaaS application using Next.js. The frontend fetches user permissions to control UI visibility and ensures API requests adhere to role-base

The shift from C/C to JavaScript requires adapting to dynamic typing, garbage collection and asynchronous programming. 1) C/C is a statically typed language that requires manual memory management, while JavaScript is dynamically typed and garbage collection is automatically processed. 2) C/C needs to be compiled into machine code, while JavaScript is an interpreted language. 3) JavaScript introduces concepts such as closures, prototype chains and Promise, which enhances flexibility and asynchronous programming capabilities.

JavaScript does not require installation because it is already built into modern browsers. You just need a text editor and a browser to get started. 1) In the browser environment, run it by embedding the HTML file through tags. 2) In the Node.js environment, after downloading and installing Node.js, run the JavaScript file through the command line.
