"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Angular Addicts # Angular w. the new @let syntax), Component testing, SSR guide & more

Angular Addicts # Angular w. the new @let syntax), Component testing, SSR guide & more

Published on 2024-08-28
Browse:163

Angular Addicts # Angular w. the new @let syntax), Component testing, SSR guide & more

?Hey fellow Angular Addict

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

?Release announcements

? What's new in Angular 18.1?

Angular 18.1, the latest minor version of Angular, was released in July. Cédric Exbrayat covers the key new features:

  • TypeScript 5.5 support
  • @let syntax
  • afterRender / afterNextRender APIs
  • toSignal equality function
  • RouterLink with UrlTree
  • Router browserUrl
  • Extended diagnostic for uncalled functions
  • Angular CLI: faster builds with isolatedModules, WASM support, inspect option, chunk optimizer

?Angular Gems of July, 2024

? Complete Guide for Server-Side Rendering (SSR) in Angular

Alexander Thalhammer explains Server-Side Rendering (SSR), Static Site Generation (SSG), Hydration and Event Replay. He shows how to set these up in an Angular application and offers best practices and tips for improving the user experience.

?Testing Components In Angular: NO_ERRORS_SCHEMA, Stub Components, and NgMocks

Dany Paredes shows us by examples, how to unit test a component with multiple dependencies like child components or external libraries with the help of the NgMocks mocking library.

? The Future of Material Support in Angular

In this post, Mark Thompson and Jeremy Elbourn clarify that Angular Material is not affected by changes to Google's Material Web Components (MWC), as it does not rely on them. Angular Material remains under active development. The team aims to enhance Angular CDK features and documentation to help developers build high-quality user interfaces.

?Building a Real-Time Chat Application with Angular and Firebase

Moe Mollaie explains, when real-time connections are needed and compares different solutions. He then walks through building a real-time chat application using Angular and a Firebase.

?Angular: RxJS vs Signals, what to use?

Igor Pak provides two use cases to illustrate when to use Signals and when to use RxJS. His article shows that while Signals are good for state management and simple data updates, they might miss intermediate values in complex scenarios.

?‍?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:

  • Angular Addicts #27: NgRx 18, New RFC: DomRef API, Web storage with Signals & more
  • Angular Addicts #26: Angular 18, best practices, recent conference recordings & more
  • Angular Addicts #25: Angular and Wiz will be merged, the differences between React and Angular & more

? 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!

Release Statement This article is reproduced at: https://dev.to/this-is-angular/angular-addicts-28-angular-181-w-the-new-let-syntax-component-testing-ssr-guide-more-1f8c? 1If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3