Logo

dev-resources.site

for different kinds of informations.

Angular Addicts #33: NgRx 19, using the Page Object Model in tests, Micro Frontends using Vite & more

Published at
1/15/2025
Categories
angular
typescript
javascript
Author
gergelyszerovay
Categories
3 categories in total
angular
open
typescript
open
javascript
open
Author
15 person written this
gergelyszerovay
open
Angular Addicts #33: NgRx 19, using the Page Object Model in tests, Micro Frontends using Vite & more

๐Ÿ‘‹Hey fellow Angular Addict

This is the 33rd issue of the Angular Addicts Newsletter, a monthly collection of carefully selected Angular resources that caught my attention. (Here are 32nd 31st, and 30th issues)

๐Ÿ“ข Release announcements

๐Ÿ“ข Announcing NgRx 19: NgRx Signals Features, Action Signals, and more!

Brandon Roberts announces the latest version of NgRx, some of the new features:

  • SignalStore introduces the withProps feature to define static properties or observables in a SignalStore during creation.
  • New signalMethod utility function, it gives you the benefits of rxMethod with the ability to use only use signals.
  • Development mode checks in patchState function ensuring state immutability during development.
  • NgRx Store now supports action dispatch on Signal changes.

๐Ÿ’ŽAngular Gems of December, 2024

๐Ÿ“ฐ My new Angular Coding Style

Kevin Kreuzer has rewritten a large codebase using Signals and the new Angular APIs recently. In this article, he explains the new coding styles and patterns that emerged during the refactoring. Key points include the adoption of standalone components as a standard, the transition to using Signals for reactivity, and moving away from traditional lifecycle hooks.

๐Ÿ“ฐ Using Angularโ€™s Resource API with the NGRX Signal Store

Manfred Steyer shows how to use SignalStore's withProps feature with the Resource API. His guide also includes connecting template-driven forms using linkedSignal and signalMethod.

๐Ÿ“ฐ Using the Page Object Model design pattern in Angular applications

Francesco Borzรฌ's article discusses the implementation of the Page Object Model (POM) design pattern in Angular applications. POM allows tests to focus on "what" needs to be done while the page object handles "how" the interaction with the DOM is done, leading to cleaner and more maintainable test code. Francesco also introduces his new library, ngx-page-object-model, designed to facilitate the use of POM in Angular component tests and compatible with various testing frameworks.

๐Ÿ“ฐ Setup a Micro-Frontend architecture in 15min with Vite!

In his article, Meidi Airouche outlines the creation of a micro-frontend architecture using Vite, integrating Vue.js, Angular, and React components into a modular news portal. The project combines:

  • Vue.js Header for navigation
  • React Trending section for latest articles
  • Angular Highlights area for popular content

๐Ÿ“ฐ Mastering Component Communication in Angular

Michaล‚ Grzegorczyk provides a comprehensive overview of various methods for facilitating communication between components in Angular applications. Key topics covered include:

  • Input, Output, Setter and ngOnChanges lifecycle hook
  • @Injectable Services
  • Component/Directive injection
  • Template variables (#)
  • Content Projection (@ContentChild / contentChild() / @ContentChildren / contentChildren())
  • View and Query List (@ViewChild / viewChild() / @ViewChildren / viewChildren())
  • Routing (parameters, queries, withComponentInputBinding(), state objects)

๐Ÿ‘จโ€๐Ÿ’ป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!

angular Article's
30 articles in total
Favicon
Angular Addicts #33: NgRx 19, using the Page Object Model in tests, Micro Frontends using Vite & more
Favicon
Implantando um aplicativo Angular com DigitalOcean e GitHub de forma gratuita
Favicon
Custom builder for Angular: My way
Favicon
Angular validation common functions
Favicon
Checkout the new @defer in Angular
Favicon
AngularFire Starter Template
Favicon
Deferred loading with @defer: Optimize Your App's Performance
Favicon
๐Ÿš€ Weekly Angular Challenge: Two Projects a Week!
Favicon
๐Ÿš€ Weekly Angular Challenge: Two Projects a Week!
Favicon
Use Chrome's Prompt API to generate a trip planner in Angular
Favicon
Don't copy/paste code you don't understand
Favicon
Streamlining Data Flow in Angular: The Power of the Adapter Pattern ๐Ÿ”„
Favicon
Transform Your Web Development Workflow with These JavaScript Giants
Favicon
Breweries App
Favicon
10 Months of Elm to Angular
Favicon
Boost Angular Performance: Lazy Loading Guide
Favicon
๐Ÿš€ Learning Through Experience: A Tale of NgRx Effects
Favicon
๐Ÿ”ฅ Effect Stopped Reacting to Action, Have You Ever Faced This? ๐Ÿ”ฅ I recently learned a valuable lesson about NgRx Effects โ€“ specifically, where to place map and catchError when handling service calls.
Favicon
How to create a Google Font Picker in Angular 18
Favicon
MDB Ui kit issue in angular 19
Favicon
Azure App Service doesn't returned compressed (gzip) files for Angular application?
Favicon
Angular form validation directive
Favicon
Unlocking the Power of Angular Signals for Dynamic Reactivity
Favicon
Boosting Your Angular Development Workflow with Cursor Code Editor
Favicon
Eliminate Runtime Errors with Type-safe Routes in Angular
Favicon
[Boost]
Favicon
Ng-News: Angular in 2024
Favicon
Angular Signals and Their Benefits
Favicon
Taming Angular Forms
Favicon
Modify Angular Material 19 Theme with SCSS & CSS

Featured ones: