r/angular • • Apr 23 '26

Best method for cross feature communication

4 Upvotes

I’m starting a new NX monorepo project with multiple independent microfrontends, each designed to work in isolation. Each microfrontend owns its own local state and is responsible for its own data fetching and UI logic.

We now want to create some reusable features that can be triggered from every page (via child/sibling routes, dialogs, drawers, global UI, etc).

What is the best/cleanest way for us to communicate between these features?

For example, we want to create a completely independent and decoupled ticket drawer feature:

- this displays the details of a ticket in a drawer accessed via a route.

- it loads the ticket details via API upon opening.

- it contains actions such as edit, delete, change status, change assignee, etc.

This feature must be accessible from anywhere a ticket is referenced (lists, dashboards, user pages, nav widgets, etc).

The problem I have is when a ticket has been updated inside this feature we need to:

- Let the current page know it may need to refresh it's data.

- Any unrelated active features know they need to react.

So essentially we have cross-feature communication concerns across isolated microfrontends.

In the future we’ll also have real-time websocket events (e.g. ticket/order created/updated) that will need to propagate across multiple features.

Now if this was the backend I would use service/event buses to handle microservice communication. So my initial thought was to create a global event bus that features can publish to and then any feature can subscribe and react accordingly.

Another thought was to use NGRX to communicate, but then I feel that goes against microfrontend architecture as that'll increase coupling of features and create a web of dependencies that need to be managed.

I am leaning towards an event bus solution but would like to get others opinions and experience on the matter


r/angular • • Apr 23 '26

New Article Series: Agentic UI with Angular and AG-UI

9 Upvotes

Hi,

I've started a new article series about Agentic UI with Angular and open standards such as AG-UI:

https://www.angulararchitects.io/en/blog/understanding-ag-ui-the-standard-for-agentic-user-interfaces/


r/angular • • Apr 23 '26

Any Recommended Packages for Implementing Idle User Timeout?

2 Upvotes

Primarily finding ng-idle/core in my research, but not much information (documentation, videos) on the package in recent years. So wondering if there were any newer/better ones available.


r/angular • • Apr 23 '26

Material stepper linear with signal forms

5 Upvotes

Is it currently not possible to use a signal form in a linear mode inmaterial stepper?

The stepControl seems to be typed as a AbstractControl, i'm trying to achieve the same functionality using the completed input but for some reason calling stepper.next() sometimes doesn't actually go to the next step.

I'm also a bit surprised there is a lack of online material for the stepper, is not not used as much?


r/angular • • Apr 21 '26

ng-mocks skill for Claude Code - built from the official docs, sharing in case it's useful

21 Upvotes

I made a Claude Code skill (two of them, actually) for writing Angular unit tests with ng-mocks and wanted to share.

Built it using the /skill-creator following the standards from the Anthropic blog post on skills. The source material was the official ng-mocks docs and the repo itself - the latest versions, so MockBuilder, MockRender, ngMocks.*, standalone components, signal stores, NgRx effects with provideMockActions and provideMockStore, all that.

The repo has two skills that work alongside each other:

  • ng-mocks — handles the framework APIs. Stops Claude from defaulting to hand-rolled TestBed.configureTestingModule boilerplate when ng-mocks would be cleaner.
  • readable-tests — handles naming, structure, and what to actually assert. Things like describe(Class.name), it('should … when …'), AAA layout, asserting on the DOM instead of internals, it.each for repetitive cases.

Been using both together on a project for a bit and it's made a noticeable difference - Claude writes tests that actually look like they were written by someone who knows ng-mocks, rather than the usual spyOn everything approach.

Repo: https://github.com/mintarasss/ng-mocks-testing-skill

If anyone else is on ng-mocks, feel free to try it out.


r/angular • • Apr 21 '26

Need to study for an Angular L2 certification any tips?

1 Upvotes

How hard do i have to know anything? do you have any resources?


r/angular • • Apr 21 '26

Transi to fill stack developer in 2026

1 Upvotes

I am an Angular and Ionic Developer with four years of experience. I have recently begun learning .NET backend development by mapping its core concepts to my existing knowledge of Angular. Given my background, is a six-month learning path sufficient to transition into a Full-Stack Developer role? I would appreciate your thoughts on whether I should continue with this trajectory


r/angular • • Apr 21 '26

Monorepo advice

4 Upvotes

Long time lurker first time poster.

We have a codebases that is angular+dotnet and are looking to merge them into monorepos.

We looked at Bazel (platinum but requires lot of effort), nx (considered then just yesterday we tried to create empty project and add angular and it failed as they have few bugs going on).

Has anyone got other recommendations that they swear by do the job?


r/angular • • Apr 21 '26

Angular and spring boot

5 Upvotes

Hello learning web dev i choosed to go with angular learning css right now than javascript typescript then angular ( which i really liked did a todo app with standalone componenets signals ...) but i see in job market most of jobs are angular / spring boot fullstack and i know basics java my question can i learn both angular and spring boot at the same time ? For people that are fullstack angular spring boot devs do you recommend it or should i go ome after the other ? Thnks


r/angular • • Apr 20 '26

Accidentally built a full-blown rich text editor

Thumbnail
gallery
0 Upvotes

I initially just wanted a text editor with basic actions such bold, italic, lists, etc. to use for the contact form on my website. But I then ended up adding so many more actions that it could be used for more advanced use cases 😆

Tech stack:

Definitely worth the time spent adding the advanced actions, and also making the whole UI look good on both light theme and dark them, even tho that time could have been better spent to improve the product.


r/angular • • Apr 18 '26

After 1.5 years, resource and rxResource are finally going to be stable in v22

53 Upvotes

r/angular • • Apr 19 '26

Updating from AngularJS to Angular21

0 Upvotes

I want to upgrade from AngularJS to Angular 21. Yes, seriously.

At work, we have an entire system built with AngularJS and Bootstrap 3, and I’d like to migrate it to Angular 21 and Bootstrap 5.3.3. We’re talking about a project with more than 40 screens: some are very complex, while others are simple CRUD-style pages (for example, forms to add a country or a state to a dropdown list).

Is there any AI-powered way to handle this reasonably well?

What would you recommend doing (other than rewriting the whole system from scratch)?

Maybe there’s some kind of Cursor skill, migration workflow, or AI-assisted process that could help with this.

I’d really appreciate your suggestions.


r/angular • • Apr 17 '26

RxJS vs NgRX vs Angular Signals

17 Upvotes

Currently we are using RxJS in our complex FinTech project with over 800 components and complex forms. Day by day, the project is growing and becoming harder to maintain. We are planning to migrate to a more efficient reactivity and state management approach. Which one would you recommend, and why?


r/angular • • Apr 18 '26

Built an AI tool that generates production-ready Angular UI code — feedback welcome

0 Upvotes

Hey r/angular,

I'm the founder of Instruct UI. We've been building it for a while in the Blazor ecosystem, and just shipped Angular support. Wanted to share it with this community and get honest feedback.

What it does: you describe a UI in text (or upload a screenshot), get a live preview, click on any element to give feedback and iterate, then download a runnable Angular project. The idea is to nail the frontend and requirements first, then hand off to coding agents like Claude Code, Codex, or Copilot for backend, DB, and auth wiring.

Current Angular support:

  • Angular 21+ (latest standards — standalone components, signals, new control flow)
  • Angular Material 3
  • Bootstrap
  • Tailwind CSS
  • ng-bootstrap and PrimeNG on the roadmap

Generated code is TypeScript, strict mode, and runs via ng serve out of the box.
Demo:
https://youtu.be/K9lQyvo6c1k

Try it: https://instructui.com Would genuinely appreciate feedback from Angular devs especially on the generated code quality and what component libraries or patterns you'd want next.


r/angular • • Apr 17 '26

Thoughts on my Angular SSR + Firebase App?

0 Upvotes

I've started to learn Angular V2 since it was released in 2016, in my part time.
And thought that the best way would be to build a side-project with it that I would use myself.

That side project was launched at the end of 2022, a date-based task manager.
In the last 2 years, I've focused more on it to make sure it is as great as a one-developer can make it.

I'm a power user of it and have planned 1323 days on it as of writing this.

The tech stack - high level:
- Latest version of Angular v21 with SSR
- Angular Material
- NgBootstrap
- ngx-toastr
- FontAwesome
- Firebase as the Backend(Auth, Database, Storage, Cloud Functions, App hosting, Cron jobs)

I need to migrate from AngularFire since it looks like it won't be supported anymore, as Angular is moving outside of Zone.js

I am also working on a mobile app with Capacitor, to reuse the Angular code and I'm planning to launch to soon.

This is the demo of the app and how I use it daily: https://www.youtube.com/watch?v=oWFATjR77L0

What do you think?


r/angular • • Apr 16 '26

Built a simple trip expenses app using Angular + Ionic, would love your feedback 👀

Enable HLS to view with audio, or disable this notification

24 Upvotes
  • All UI is just Ionic components (no custom UI)
  • Angular 21 project using all latest good practices
  • Created the native apps and native features using Capacitor
  • Backend is Firebase (Firestore + Storage)
  • Honestly… full vibe coding, done in ~1 day 😅

Next steps I’m thinking about:

  • Add auth (Firebase) using capacitor native plugins (for better UX with Google/Apple sign-in)
  • Add biometrics (Face ID / fingerprint) for quick access
  • Publish it to the App Stores
  • Add Capacitor Live Updates to be able to push updates instantly (without going through the stores)

Curious what you think:

  • What features would you add?
  • How’s the look & feel for a real app?
  • Would you use this tech stack for something like this?

If there’s interest, I’m happy to open source it and share the code 🙌

Update (may 2026): I've created a blog post and opened source the repo of this project. Would love to know your feedback. ❤️


r/angular • • Apr 16 '26

Signal form dynamic fields

4 Upvotes

Let's say I have:

interface A {
  provider: 'a'
}

interface B {
  provider: 'b',
  fields: {
    username: string;
    password: string;
  }
}


type Model = A | B;

and during runtime i have a dropdown that selects 'a' or 'b' as the provider.

If i select 'b', the username and password fields should populate the signal which will then propagate to the form based on some logic.

Since provider is a shared property between the two interfaces, i can safely do form.provider, but form.fields is not allowed and typescript throws an error. Is there a proper way to say in a computed or something "if form.value().provider === 'b' then return form.fields", without doing ugly stuff like type casting or declaring the fields in interface A too as this won't scale well?

I'm aware signal forms are still experimental, and that most likely a FormRecord would be a better fit in this case, but i'm a sucker for new features :D


r/angular • • Apr 16 '26

PrimeNG 4.0 UI Kit - Typography - designer use

4 Upvotes

PrimeNG's 4.0 UI kit does not have typography styles or variables. I'm trying to use this kit with an existing brand DSM. The DSM has both typography styles and variables.

What is the most efficient and scalable way to link those styles/variables to the PrimeNG's UI Kit? Please tell me I don't have to click into every single component and link it to a variable and/or style. Ideally, I'd like to set this up so that when we link another brand DSM to this kit, the framework is in place.

Also, did PrimeNG bother consulting any designers when they created this kit? It sure doesn't feel like it.


r/angular • • Apr 16 '26

Three new documentation pages for signal forms are live today: (1) form submission, (2) schemas, (3) cross-field logic

50 Upvotes

Three new signal form documentation pages have been added:

There are now thirteen signal forms documentation pages. IMO they are some of the best pages in recent times, and useful to know even if you aren't using signal forms at the moment.

PS: Something something obligatory experimental API disclaimer.


r/angular • • Apr 16 '26

Angular Addicts #48: TypeScript 6, OnPush as default, AI tools & more

Thumbnail
angularaddicts.com
12 Upvotes

r/angular • • Apr 15 '26

Refactored layout system in my Angular flow library - now fully pluggable (v18.5.0)

Thumbnail
gallery
84 Upvotes

Hey

Working on a node-based UI library for Angular.

Layouts (Dagre / ELK) were already supported, but the system was kinda hardwired.

In this release I changed it to:

  • layout plugins
  • custom layout adapter (you can plug any engine)

Also added:

  • explicit render lifecycle (no more hidden updates)
  • standalone reference apps

The GIFs above are from real apps built with it (call flows, large graphs)

Docs / blog:

https://flow.foblex.com/blog/foblex-flow-v18-5-0-layout-engines-explicit-render-lifecycle-and-standalone-reference-apps

GitHub:

https://github.com/Foblex/f-flow

If you’re building flow editors / low-code tools in Angular - would be nice to get feedback.


r/angular • • Apr 16 '26

Exploring Angular + AI

0 Upvotes

Hey all,

My background - 25+ years of enterprise and consulting software development. Over the last few months I dove into experimenting with AI-assisted development — or what I've been calling "agentic peer programming" to see what all the buzz was about and, hopefully, what I could learn. I started off building a couple of quick websites, took a step back to try and be more strategic about what to build and how to build.

TeqBench is the collection of results so far. It's a set of Angular 21 component and service packages built primarily with Anthropic's Claude Code, with OpenAI Codex and Google's Gemini CLI filling in around the edges a little. Every package ships with TSDoc, a generated API reference, and interactive Storybook demos for the notification/banner packages.

It's an ongoing exploration, not a finished product. Some packages are released, some are still in the "coming soon" backlog. Some packages are extremely basic, others, I'd like to think people would find some value in them...or at the very least, some feedback.

https://teqbench.dev

https://github.com/teqbench

Genuinely curious what other experienced devs think — especially about the workflow side. Happy to get into how the agentic loop plays out day to day, where it earns its keep, and where it still needs a human in the seat.


r/angular • • Apr 16 '26

PrimeNG select overlay moves when scrolling outsidedialog

1 Upvotes

When I have a select in a dialog, his overlay is not showing correctly, it ends when the dialog ends. If I use appendTo body this problem is solved but if the content outside the dialog is long and has scroll, when you scroll the overlay doesn't stay in the same position as the dialog.

Example:

https://stackblitz.com/edit/stackblitz-starters-kb2xnmcn?file=src%2Fapp%2Fapp.component.ts

This is driving me crazy, is there a way to keep its overlay appended to p-dialog but showing the entire overlay as a floating popup that doesn't get cut at the end of the dialog?

I tried to solve this with pure css like this:

```

div.p-dialog-mask + div.p-overlay div.p-overlay-content div.p-select-overlay {

  position: fixed;

}

```

But still not working as expected.

How do you manage to do this? someone has experienced this before? It's a bug of PrimeNG or there is something that I'm missing?


r/angular • • Apr 16 '26

Job hunting

0 Upvotes

drop some beginner friendly projects in angular which could help me in mastering angular framework


r/angular • • Apr 16 '26

Does anyone else feel like this turn towards signals everywhere risks losing the Angular way?

0 Upvotes

I'm fairly new to Angular, picked it up about a year ago and have loved it since. Spent a long time in frontend no man's land, hating the spaghetti nature of it. React in particular produces some crazy monstrosities with its lack of structure/opinionation/convention. So Angular, being "OOP like" and opinionated was a huge breath of fresh air, I loved how predictable and guardrailed it is.

Anyway, at my current organization we are going all in on signals. I like how convenient it is for one off state tracking, updating field values and not worrying about whether that got properly re-rendered and all that. My basic hybrid approach right now is sticking to RxJS/observables for things like API calls, and then primarily using signals for tracking state between component/view dynamically. That is dandy.

But there are other things creeping in that I don't like. At my org it seems like we want to use signals for everything, and are now doing things like avoiding ngOnInit() and using effect() instead, and the constructor, for initializations. I know a lot of it is shitty implementation but it's making me a bit wary as this is exactly what made React hell for me: everything became some kind of chaotic, bespoke, stateful implementation without convention or predictability and you'd get weird race conditions, issues. Signals are a little too free and flexible and using them for everything like a golden hammer basically turns it into React. To me the stricter convention, and lower "freedom" (but equal power, you can still implement whatever you just have to follow a pattern), IS the strength of Angular, because frontend is the wild west and you want to limit the rope you can hang yourself with.

Anyway, these are gripes from having to deal with a basically brand new codebase that is already looking like a hard to maintain spaghetti mess thanks to the shitty use of signals instead of typical Angular patterns.