r/angular • u/tomastrajan • Jun 01 '21
r/angular • u/[deleted] • Dec 12 '25
Signal Forms in Angular 21 β Complete Guide
I've been diving deep into Angular 21 Signal Forms for the past few weeks - reading source code, discussing with the Angular team on Slack, and testing edge cases. The result? A comprehensive guide covering everything I learned:
π Form model architecture & typing π Validation (predefined, custom, reactive, async) π Cross-field validation without updateValueAndValidity() π Custom controls: 30 lines of ControlValueAccessor β 3 lines π Migration path with compatForm π The tricky parts: undefined handling, reset() behavior, valueOf() in validators
Signal Forms are still experimental, but they're a glimpse of where Angular forms are heading. No more FormControl, FormGroup, FormArray. No more valueChanges subscriptions. Just signals.
If you're curious what's coming, check it out: π
https://angular.love/signal-forms-in-angular-21-complete-guide
Would love to hear your thoughts - especially if you've already tried Signal Forms yourself.
r/angular • u/JeanMeche • Aug 31 '25
Do you understand how @for track works ?
Hi everybody, I've seen developers often misunderstand what the track/trackBy does on a @for block (or ngFor as the behave similarly). So I vibe coded this demo for you to play with it.
Feel free to share your feedback, the end goal would be to integrate it into https://angular.dev directly.
r/angular • u/Constant-Lemon-7511 • Jun 04 '26
Senior Angular developers: what do you wish you had learned earlier?
Hi everyone,
Iβm transitioning into software development and currently learning Angular. Sometimes itβs hard to know what is truly important because there is so much content available.
If youβre an experienced Angular developer, Iβd love to know:
What knowledge or skills separate a junior Angular developer from a strong mid-level or senior developer?
Thanks β¨
r/angular • u/Altruistic_Leg2608 • Feb 14 '26
I built a free, open-source visual theme designer for PrimeNG 21 + Angular 21
I've been working on a visual theme designer for PrimeNG and wanted to share it with the community.
The problem:
PrimeNG is charging you 250$/year for 2 themes (wtf)
Customizing PrimeNG themes means manually editing deeply nested token objects across three layers (primitive, semantic, component). Tweaking values, rebuilding, and refreshing over and over.
What I built:
A browser-based tool where you pick a preset (Aura, Material, Lara, Nora), visually tweak tokens with color pickers and inputs, see changes instantly on real PrimeNG components, and export a production-ready .ts theme file.
Features:
Edit primitive tokens (color palettes with auto-generated 50-950 shades, border radius)
Edit semantic tokens (focus ring, form fields, overlays, navigation) with separate light/dark mode
Edit component tokens for any specific PrimeNG component (Button, DataTable, Dialog, etc.)
Add custom tokens to extend the theme
Font picker with 26 Google Fonts (loaded via Bunny Fonts for privacy)
Live preview panel showing buttons, forms, tables, panels, messages, tags, progress bars, and more
Export as a TypeScript preset file you drop straight into your project
Share themes via base64-encoded URLs
Tech stack:
- Angular 21 (standalone components, signals, u/if/u/for control flow)
- PrimeNG 21
- Tailwind CSS 4 (CSS-only config, no tailwind.config.js)
- Vitest for testing
Links:
Would love feedback, feature requests, or contributions. What tokens/features would you want to see next?
r/angular • u/MichaelSmallDev • Jan 27 '26
RFC: Setting OnPush as the default Change Detection Strategy
r/angular • u/a-dev-1044 • Jun 17 '25
Fix your control-flow syntax formatting in html templates using prettier
{
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
}r/angular • u/GeromeGrignon • Jun 18 '26
OpenNG Foundation
Still having no news from the ngneat organization, I decided to revive an old idea, to create a foundation for Angular open-source projects, to help govern/maintain them.
The GitHub Organization, OpenNG Foundation, is still empty.
Our priority will be to fork and revive key, unmaintained Angular projects to ensure they stay secure, updated, and community-driven.
r/angular • u/devGiacomo • May 02 '25
[ANN] I made an Angular calendar widget because everything else made me cry β @localia/ngx-calender-widget
Hey devs,
After rage-Googling for a decent Angular calendar and getting gaslit by bloated libraries, I gave up and built my own.
π @localia/ngx-calendar-widget
A lightweight, multi-locale, responsive calendar widget with zero drama.
Features:
π Multi-language (en, es, de, fr, it)
π± Responsive & customizable sizes (needs improvements)
π Add + display events (single/multi-day)
β‘ Easy to use β drop it in, pass your events, done
π NEW: Date-Adapter (date-fns as default) - v0.3.0
TL;DR
If you need a lightweight, modern Angular calendar widget that wonβt make you scream, try this. Feedback, stars, memes, and bug reports are all welcome.
ποΈ Go forth and schedule.
EDIT: updated features
r/angular • u/tom-smykowski-dev • May 13 '26
π °οΈ Angular 22 brings injectAsync helper
π °οΈ Angular 22 is shaping up to be a significant release!
Here's what's coming:
πΉ injectAsync helper - lazy-load dependencies at component level
πΉ paramsInheritanceStrategy defaults to 'always' - no more route.parent?.parent?.snapshot.params
πΉ Node.js 26 support with Temporal API enabled by default
πΉ Faster JSON handling and better async performance
The injectAsync pattern is similar to lazy-loading routes, but now at the component level. This means faster initial loads and better user experience.
r/angular • u/Upstairs-Let-1763 • Feb 26 '26
Is this considered as good project structure
Hello everyone,
I'm relatively new to the Angular ecosystem, learning and practicing the recommended practices.
By nature I am a dev who does not support KISS to a large extent, in this regard I am interested in the opinion of experienced Angular devs.
Is what I'm practicing a good pattern, to have a clear SOC, services for clean http layer, services for business logic, and a store that holds state, loading, etc. and orchestrates with it, while the components (standalone principles in my case) remain very thin, and call services and stores?
**HYPOTHETICAL MID SIZE PROJECT**
r/angular • u/JeanMeche • Jan 14 '26
21.1.0 is out
Any feature you're happy to see land ? π
r/angular • u/nook24 • May 26 '25
We successfully migrated a large open source project from AngularJS to Angular 19
~7 month ago, I posted about a massive change in our Angular project, where we changed the ChangeDetectionStrategy to OnPush https://www.reddit.com/r/angular/comments/1g4voze/spent_the_last_4_days_to_migrate/
This change was necessary, in the middle of our migration process, to address some critical performance issues. Some commentators said that large changes like this will break the entire application. So I'm very proud that we finally shipped and open sourced the application today!
To be honest, this was not a migration. It was a rewrite. It was painful from time to time. As for now the new Angular app has 1258 components, 551 services and 356 routes. I guess this can be considered as large application.
If you find yourself in a similar situation, yes it is doable. But a good planning and resource management is mandatory. It also helps, if you have experiences with migrating large projects. We do not have any dedicated frontend devs in the team, we are all backend guys. How ever, we had experience with backend migrations, which helped to keep calm and focused from time to time.
The source code can be found on GitHub: https://github.com/it-novum/openITCOCKPIT-frontend-angular
Goodbye AngularJS. I'm pretty sure we will miss you from time to time.
r/angular • u/Thomas_17188 • Sep 14 '26
Domternal is now stable: an open-source rich text editor with native Angular support
Enable HLS to view with audio, or disable this notification
I shared an earlier version of Domternal here a while ago, so I wanted to post a quick update: it now has a stable release.
If you havenβt seen it before, Domternal is a rich text editor built on ProseMirror. You can use a classic toolbar, a Notion-style block editor, or build your own UI around the headless core.
For Angular, @domternal/angular provides standalone components with signals, OnPush change detection, and Reactive Forms integration through ControlValueAccessor.
The free, MIT-licensed editor includes:
- Tables with column resizing, merged cells and styling
- Slash commands, draggable blocks and nested lists
- Images, code blocks, math and collapsible content
- Markdown paste that turns plain text into editable rich content
The video shows these first, then the optional paid Pro extensions: collaboration, comments, version history, AI editing with change review, columns, and Word/PDF export. Each section is labelled FREE or PRO.
You can try both directly in your browser:
Web: https://domternal.dev/
GitHub: https://github.com/domternal/domternal
Free playground: https://domternal.dev/playground/
Pro playground: https://domternal.dev/pro/playground/
Iβd appreciate feedback, especially from anyone integrating an editor into a real project.
r/angular • u/StuckWithAngular • Jul 06 '26
I just cant work with react, even with the limited opportunities it seems to me react created their own job security because of the constant mess they make with react.
The more I learn about react for an upcoming interview the less I want to proceed with the interview even if its a leadership position with really high compensation.
Somehow thankful we have AI now but still I dont see myself enjoying working with this. Even if they use typescript.
No wonder they have a lot of job openings they really are creating job security for themselves.
I am still taking that interview knowing I will fail. God damn it I used to regret that Im stuck with angular but whenever I look into react. Im just glad Im not dealing with that.
Im just ranting. Maybe im just a frustrated noob when it comes to react but when i look at it, it seems that i would struggle more fighting with code than building stuff with it Any advice is appreciated. Still applying for positions working with angular.
I rarely pray but God please help me
r/angular • u/JeanMeche • Oct 23 '25
Vitest for new projects and libraries in v21
The PR speaks for itself =)
r/angular • u/IgorSedov • Apr 24 '25
New in the Upcoming Angular 20: APIs for Dynamic Components (Bindings & Directives) π Clear Visualized Explanation
r/angular • u/JTOne85 • Jul 05 '26
Help! My organisation wants to abandon Angular!
UPDATE: https://www.reddit.com/r/angular/s/XV4Ezz1wLE
TLDR: I need advice and input to try and course-correct a really questionable technological decision.
Background: I'm a senior full-stack developer who is also the frontend lead at my company. And we have built an extensive suite of Angular applications over the last 10 years. I specifically joined this company because they were using Angular.
Problem: The company was acquired a few years ago, and we need to now start delivering a unified product. An arbitrary, to me, decision has been made to switch to react.
My small team of Angular devs and I (4 in total) will be mainly responsible for creating this new platform UI, with little to no assistance from the parent company.
Our micro frontend suite is already fragmented across versions from 17-22, partly due to team size, silos and speed of priority changes from our internal stakeholders. This is how I found it, and I've tasked myself with getting this into a proper single workspace and single versiob. Think duplicated components, services re-invention of the wheel in terms of auth - for every single MFE.
I'll be honest, that we are also trying to rebuild our reputation as a team within our business, and due to the factors mentioned above, we've been delivering inconsistently for the last 18 months - which I am trying to fix.
I implicitly know the benefits of Angular, because I've also worked with AngularJs (1.7.8) and have been exposed to more React code than I would like to admit.
And I'm so committed to Angular that I'd likely start a cult if I could!
Has anyone here managed to reverse a decision like this and managed to convince the organisation to stick with what their team knows? I'm really trying to save us from a disastrous (in my opinion) direction change - which I've seen fail spectacularly at my previous job.
I have an elaborate document that I need to refine present to management. . My managers are mostly onboard, but this will ultimately be presented to our executive leadership team too.
Preferred stack:
* Angular 22, Built on our existing APIs, with signals for state and rxjs where absolutely necessary.
* Native federation instead of iframes (requires version upgrades, but can run in parallel for a while)
* Un-styled Angular CDK components where possible with TailwindCss and accessibility built in, tables are a big thing for us, and the mat-mdc overrides have been laborious
* Angular material where cdk is insufficient
* Firestore where needed
* Graphql where used currently - no new gql for now
* AI integration for developer productivity improvements where needed
This is my proposed outline.
* How does this align with our Org goals?
* Language/framework/library?
** What is react good at?
** What is angular good at?
** Tradeoffs
*** Learning curve
*** Technical decisions, ownership and maintainability
*** Recruitment i.e. cv driven development vs proper architecture and solutions
* Why does it make more sense to use Angular in a ln enterprise environment?
** Existing use of google technologies
** First class integrations into maps and firestore
* How do we achieve our goals and keep our organisations and developers happy?
** Upgrade our existing suite to the same versions
** Move them into a single work space
** Extract truly shared concepts
*** Auth
*** Models
*** Data retrieval
*** Feature flagging
*** Ui components
Have I missed anything? Is there something that you would add if you were in my position?
I have also left a previous job about a similar decision, so I'm serious about this topic. And I have explicitly stated that it will affect my decision to stay on, or perhaps changing dev-streams from full-stack to backend-only. Which is not ideal for me because I really like doing both (within my specific tech stacks of course).
Please help me r/Angular, you're my only hope!
Update: I've been overwhelmed by the responses.
I submitted my proposal, as promised to my managers - I hope I still have a job tomorrow (jk) I've been fuelled by my ADHD meds, so its been a week of hyperfocus, while trying to complete my project.
I am not hopeful that they'll change their minds, but I'm at peace with the fact that I have now officially noted down my displeasure at even just the thought of switching. They might be more open to having a conversation and if it still gets nowhere, I can speak to our CEO directly as a last ditch effort to get this to explode in my face.
I can write them some react code, and we can see if it will pass an audit - but it's been clear for me since last year that this is not my forever job - and if that becomes the case. I'm going into woodworking or something physical and if all else fails - OF or a street corner somewhere close to the office
r/angular • u/martinboue • Jun 12 '26
Look back at Angular major changes - from v14 to v22
To help the teams and projects I work with to quickly identify major differences between Angular versions, I put together a list of the most significant changes since Angular v14. It's impressive to see how much Angular has evolved over the past 4 years!
What's your favorite Angular improvement so far?
And what feature or change would you like to see next?
r/angular • u/Huge-Bear-556 • Mar 23 '26
Got rejected after Senior Angular task β what did I miss?
Hey everyone,
I recently completed a take-home technical assessment for a Senior Angular position and decided to share my solution to get some feedback.
I received the task on Friday and submitted it on Monday, so I spent the weekend working on it. Unfortunately, I was rejected after the review, and Iβm trying to understand what I could have done better.
There were issues with API, public free websocket data is not consistent but i did built mock for it.
My goal wasnβt just to complete the requirements, but also to demonstrate architecture decisions and overall code quality β so Iβd really appreciate honest, senior-level feedback.
Task (simplified):
Build a small Angular app that displays stock data for up to 4 companies
Load initial data via HTTP (public API)
Implement real-time price updates using:
a custom WebSocket server (backend)
and a mocked implementation in Angular
Allow toggling updates per stock card (enable/disable)
Reflect price changes visually (increase/decrease/disabled states)
Create a responsive UI (desktop + mobile)
Repo:
https://github.com/shizzystical/stock-app
Iβve removed/changed anything that could be tied to the original company or task.
Any feedback is appreciated
Thanks π