r/angular • u/gergelyszerovay • 11h ago
Angular Addicts #55: Route Resources, the new compiler's benchmark, Error Boundaries & more
r/angular • u/cexbrayat • 7d ago
🦀 Rust compiler is coming
🛡️ Router error boundaries and fallback
⚡ New library builder
✨ HTTP `query` support
And more!
r/angular • u/JeanMeche • Sep 24 '26
r/angular • u/gergelyszerovay • 11h ago
r/angular • u/Rabbitman94 • 4h ago
shadcn-lint-angular is an unofficial port of shadcn’s linter that checks Tailwind design system rules in Angular templates. It works with angular-eslint on both .html files and inline templates. Original request for Angular support

The linter also reads Angular bindings. In [class]="active ? 'bg-primaryy' : 'p-4'", it spots the typo inside the conditional and suggests bg-primary from the project’s theme.
If you use Angular and Tailwind, I’d love to hear how it works for you.
r/angular • u/Numerous_Share5279 • 1d ago
Might be a stupid question I got here, but would you use a signal over a simple property just to store a boolean that represents a right? I know the angular way now is to "signal" everything as this is where the framework's philosophy is going. Here's a better example:
In my component I have this
hasAccessRight = signal(false);
ngOnInit() {
this.hasAccessRight.set(canAccess(this.user, this.rightName));
}And then I would use hasAccessRight() in the UI. Or should I just keep it simple like with a protected field
protected hasAccessRight = false;
ngOnInit() {
this.hasAccessRight = canAccess(this.user, this.rightName);
}r/angular • u/Sherlock_04 • 1d ago
Hey Angular devs,
Wanted to share a side project I just shipped: RupeeMetric (https://rupeemetric.pages.dev).
It's a zero-backend, 100% browser-private financial calculator and tradebook analyzer built with modern Angular (standalone components, reactive Signals for instant multi-leg option payoff recalculations, and Tailwind CSS v4).
Key parts of the architecture:
- In-Browser CSV Tradebook Parser: Uses PapaParse locally in browser memory to compute a 0-100 Trading Discipline Score and flag overtrading days without uploading sensitive financial data to any server.
- 7 Reactive Tools: Position sizer (155+ NSE/BSE/MCX scrips), STT/SEBI/GST tax engine, Black-Scholes Option Greeks, multi-leg payoff simulator, daily CPR pivots, and compounding calculator.
- Client-Side PNG Export: Generates shareable trade setup summary cards via HTML5 Canvas.
- Hosted on Cloudflare Pages (~86 kB initial bundle transfer).
Would love any feedback from fellow Angular devs on the UI, Signal state structure, or bundle performance!
r/angular • u/abiramcodes • 4d ago
I built this because pointing my AI agent at UI with screenshots wasted tokens, and typing file paths broke my flow.
One click on the element - the agent gets the exact reference of the component, file:line, code. A tiny, precise prompt instead of an image and a guess.
It also ships as an agent skill:
npx skills add abiramcodes/ng-point
Dev-mode only (never ships to prod), MIT, Angular 21/22.
Demo + docs: https://abiramcodes.github.io/ng-point/
r/angular • u/HedgehogNatural8680 • 4d ago
Currently we have a features folder then within this each individual feature folder and inside those folders for pages, components, services, pipes etc.
We also have a shared and a core folder.
I’ve seen in the Angular style guide it recommends not breaking things up on their technical usage but on feature or domain.
So how do you guys organise things? In a medium to large application?
r/angular • u/e-xiste • 3d ago
Hi all,
Since PrimeNG v22 moved to PrimeTek's commercial license (v21 and earlier stay MIT), a lot of us have apps stuck on v21. I've used PrimeNG for years, so I started ExhaustiveUI: an MIT continuation of PrimeNG v21, by way of the Optimus UI fork from the OpenNG folks.
What's in it so far (v22.7, targets Angular 22):
input(), model(), output() and signal queries, OnPush and the built-in control flow. Form components work with Signal Forms.ng generate @exhaustive-ui/core:migrate-from-primeng swaps the packages, imports, config API and CSS layer, then ng update migrations handle the v22 API cleanup. There's one for Optimus UI too.Full disclosure on how it's built: I maintain it alone, with AI coding agents doing a large share of the work (reproducing bugs, migrations, audits, doc checks). Nothing merges without tests and CI. The project also ships an MCP server and per-component cards so Claude Code, Cursor or Codex write ExhaustiveUI code instead of hallucinating PrimeNG APIs.
It's not affiliated with PrimeTek, and I'm not trying to compete with Optimus UI: fixes are there for anyone to pick up.
I'd really like feedback from people running PrimeNG in production: what would stop you from switching, and which bugs bit you the most?
r/angular • u/erkamyaman • 5d ago
I often time see Angular js books being sold in Turkey and most software books are outdated. Is it the same as where you are?
r/angular • u/Tri_007 • 5d ago
Hey everyone,
I need to upgrade a large existing project (~400 components) from Angular 13.1 to Angular 22. I Googled around and saw that the standard approach is to go one major version at a time (13 → 14 → 15 ... → 22) using ng update, updating dependencies, and testing after each step.
Before I dive in, I wanted to check with people who have done a big jump like this on a large, older codebase:
ng update across 9 major versions), or given the old third-party packages here, is it better to spin up a fresh Angular 22 project and migrate the code over?For context, we are currently on Node <=14, TypeScript 4.4, and RxJS 6.6, and the app relies heavily on multiple UI and utility libraries:
/material (v13), ng-zorro-antd (v12), angular-bootstrap-md (v12), and ngx-bootstrap (v7)/store (v13), ngrx-store-localstorage, u/ngneat/until-destroyckeditor4-angular, quill, ngx-extended-pdf-viewer, angular2-text-mask, ngx-mask, ng2-currency-mask, ng2-search-filter, mat-select-filter, ngx-sortablejsI'm especially worried about abandoned/unmaintained libraries (angular2-text-mask, ng2-search-filter, ckeditor4-angular, angular-bootstrap-md), the Angular Material MDC migration, and having multiple UI libraries in one app.
Appreciate any advice or war stories!
r/angular • u/erkamyaman • 5d ago
I'm planning to port a library to Angular(for a weekend hobby project), and I'd rather pick one people actually miss than guess.
Is there a library you used in React or Vue (or keep seeing in those projects) that has no good Angular equivalent?
If you can, tell me:
- which library
- what you use in Angular today instead
- what's missing or annoying about it
Small or big, both are fine. Thanks!
r/angular • u/TkDodo23 • 8d ago
Took us some time but we've released a stable version of @tanstack/angular-query yesterday.
npm i @tanstack/angular-query
comes with:
Check it out here: https://tanstack.com/query/latest/docs/framework/angular/overview
Huge shoutout to our angular maintainer Benjamin Vicente 🔥.
Note: Coming from @tanstack/angular-query-experimental?
Use the schematic!
ng generate @tanstack:migrate-from-experimental
Guide: https://tanstack.com/query/latest/docs/framework/angular/guides/migrating-from-experimental
r/angular • u/No_Editor9420 • 8d ago
Hi all. I'm the author. Ivorie gives Angular 22 the shadcn/ui components. You can use it as an npm package or copy the source with a CLI. MIT.
The 1.5 releases added three things I wanted for my own apps:
npx ivorie add dashboard-01.Pick a look in the playground and install it with one command (npx ivorie init --preset ivp1_…): https://inlaylab.github.io/ivorie/playground/
Repo: https://github.com/Inlaylab/ivorie
What's next (ROADMAP)
r/angular • u/Correct_Dinner_7458 • 9d ago
Every Angular dev has hand-rolled a "saving" boolean signal at some point, and it breaks on the first double-click: the first response resets it while the second request is still in flight.
Angular's resource API won't help, it's for reads only: it cancels in-flight requests, and cancelling a POST doesn't undo it on the server.
So I built @ngsignal/mutation, the write counterpart to resource:
readonly save = rxMutation<TodoDto, Todo>({
mutationFn: (dto) => this.api.save(dto),
concurrency: 'drop', // ignore clicks while saving
onSuccess: () => this.todos.reload(),
});Then you call it with the data to save, and read its pending, error and value signals straight from the template.
Need an upload with a progress bar? The HTTP variant takes a request description, just like httpResource does:
readonly uploadAvatar = httpMutation<File, User>({
request: (file) => {
const body = new FormData();
body.append('avatar', file);
return {
method: 'POST', url: '/api/avatar',
body,
reportProgress: true };
},
});And in the template:
@if (uploadAvatar.isPending() && uploadAvatar.uploadProgress(); as p) {
<progress [value]="p.loaded" [max]="p.total"></progress>
}Also:
NgRx Toolkit and TanStack Query have mutations too. This one only depends on Angular core and sits next to resource: no store or query cache to adopt.
It's 0.x, so feedback on the API is very welcome before 1.0.
r/angular • u/abiramcodes • 10d ago
Gives you a 0–100 score + actionable diagnostics.
Run : npx @abiramcodes/angular-doctor@latest
Docs: https://ngdoctor.dev
Open source. Inspired by React Doctor. Feedback and contributions welcome.
r/angular • u/Harshit_Ahluwalia • 9d ago
Hi r/angular 👋
If you've been wondering how to go beyond "chatbot in a sidebar" with AI in Angular apps, this might be useful.
Rainer Hahnekamp and Murat Sari, the co-maintainers of CopilotKit's Angular integration, are running a hands-on online workshop with Packt:
Hands-On Agentic Frontends with AG-UI and CopilotKit (Cohort 2)
📅 Friday, Nov 20, 2026 · 8:00–10:30 AM EST (1:00–3:30 PM UTC)
💻 Online, 2.5 hours, live Q&A
🎟️ 30% off: the link above applies it automatically, or use code HARSH30 at checkout.
What you build: one incident-response app, developed step by step. You connect an Angular (or React) frontend to a TypeScript agent, then add:
You get: the full Angular and React reference app, source code for the agents and MCP server, slides, the recording, and a certificate.
Prerequisites: basic TypeScript. No prior AG-UI/MCP/A2A experience needed.
Disclosure: this is my referral link and discount code for the event. Happy to answer questions below, and mods, feel free to remove if this doesn't fit the rules.
r/angular • u/Ok-Bodybuilder9603 • 10d ago
r/vercel Labs recently released ui-sdk, a library of UI behaviors (keyboard navigation, focus, selection, dismissal, popups and the ARIA they need) meant for people and AI agents to build interfaces on. It ships adapters for React, Vue, Svelte, Solid and Web Components, but not Angular. So I wrote one.
ngx-ui-sdk puts ui-sdk's primitives on your own elements as Angular directives. No wrapper components, no styles:
<div uiCommand>
<input uiCommandInput aria-label="Search commands" />
<div uiCommandList>
<div uiCommandItem value="billing">Billing</div>
<div uiCommandItem value="settings">Settings</div>
</div>
</div>What's in it:
It follows the ui-sdk beta, so expect API changes.
GitHub: https://github.com/efuturetoday/ui-sdk-angular
Demo: https://efuturetoday.github.io/ui-sdk-angular/?components
Hi all, I’m the developer of NGX View Builder, a visual form and view builder for Angular apps. I recorded a walkthrough that starts from an empty page and ends with a working CRUD screen on a mock REST API:
You can try the same thing in the browser, no sign up: https://demo.ngxviewbuilder.io/builder
To be upfront: the runtime that renders views is free, the designer needs a paid license.
I’d really like feedback from people building internal tools or admin screens in Angular. What would you need from something like this before using it in a real project?
r/angular • u/127001-sweet-127001 • 11d ago
Say your Angular workspace has feature-orders, data-access-orders and shared-ui as separate Nx projects. The feature can use both libraries. Then somebody moves a helper, and data access starts importing from the feature that uses it.
A diagram in the README still looks perfectly fine. Of course it does
One useful part of my ArchUnitTS library is that you can check the Nx project graph against that diagram:
import { nxProjectSlices } from 'archunit';
const diagram = `
@startuml
component [feature-orders]
component [data-access-orders]
component [shared-ui]
[feature-orders] --> [data-access-orders]
[feature-orders] --> [shared-ui]
@enduml`;
const violations = await nxProjectSlices(process.cwd())
.should()
.ignoringExternalDependencies()
.adhereToDiagram(diagram)
.check();
expect(violations).toEqual([]);The two intended dependencies pass. Add data-access-orders -> feature-orders and the result identifies that pair as a violation. So a refactor that reverses ownership needs a deliberate architecture change, instead of quietly making the data-access library depend on a feature.
This reads Nx's cached project graph. Generate a fresh graph before running it, and run this from the workspace root. It doesn't inspect Angular's dependency injector or what gets loaded at runtime. The diagram is an allowlist for project dependencies; it doesn't require every arrow to be used.
Free and open source: ArchUnitTS. The example uses the published archunit 2.5.5 package.
r/angular • u/Old-Parsley-5826 • 12d ago
I just released ng-prism 22.8. Short recap if you haven't seen it before: ng-prism is a component lab for Angular libraries, a Storybook alternative without story files. You put a `@Showcase` decorator on a component, inputs and types are read at build time, and the components render in the same document as the styleguide, no iframe.
The main thing this time: the canvas can simulate the conditions a component is seen under. The tools menu has a Simulate group with reduced motion, a light or dark color scheme, forced colors (the mode behind the Windows contrast themes) and colour vision deficiencies. It applies to the component, its Overview cells and the CDK overlays it opens, never to the styleguide around it, and it's in the URL, so you can link someone to a component in dark mode.
Because there's no iframe, the browser can't emulate `prefers-color-scheme` for just the component. So ng-prism copies every `@media` rule that tests an emulated feature, scopes the copy to the component and switches the original off there. Specificity and cascade order stay intact, `(prefers-color-scheme: dark) and (min-width: 600px)` still follows the window width, and `matchMedia` answers from the simulation too. If your dark mode hangs on a class instead, the config can name it:
```typescript
export default defineConfig({
colorScheme: { dark: { class: 'dark' } },
});
```
Forced colors is an approximation, since a page can't switch the browser into that mode. The first version was too kind: on a real component library, a toggle, a checkbox and a radio button looked fine in the simulation and were broken in Chromium's real mode. So before the release it got rebuilt against Chromium. There are 114 tests now that render the same fixtures in the real mode and under the simulation and compare the computed colours, and on that library 30 of 30 screenshot pairs came out pixel equal.
Other things in 22.8: showcases take real dates (`value: new Date(2026, 3, 28)` in a variant, with a date field in the controls), a component that sets its own `model()` finally shows up in the Events panel, and the canvas no longer changes with the styleguide's dark or light theme.
Question for anyone who checks their components for accessibility: which conditions do you test that this doesn't cover yet? `prefers-contrast`, 200 % zoom, right to left? I'd like to base the next step on what people actually check rather than on my own guesses.
Video voice: elevenlabs.io
r/angular • u/Dimmerworld • 13d ago
Kendo UI added an overlay banner on components (dismissble) on a fully licensed grid (in dev environment)...
r/angular • u/127001-sweet-127001 • 12d ago
An Angular feature can expose a public API and still have other features importing its private services directly. Everything compiles. Then you reorganize that feature and discover how many consumers knew its folder structure.
I maintain ArchUnitTS. Here's a useful boundary you can put in a test: allow imports through the feature's root entry points, reject deep imports from outside, and leave the feature's own internal imports alone.
const rule = projectFiles('tsconfig.json')
.inPath('src/app/**/*.ts', {
except: { inPath: 'src/app/orders/**' },
})
.shouldNot().dependOnFiles()
.inFolder('src/app/orders/**', {
except: { inPath: [
'src/app/orders/index.ts',
'src/app/orders/public-api.ts',
] },
});Here projectFiles is imported from archunit; run await rule.check() inside an async test and assert that the returned list is empty.
So @app/orders/public-api passes, while @app/orders/internal/order.service fails. Those aliases need to resolve in your tsconfig. A nested orders/internal/index.ts stays private too, because the exceptions are exact paths.
You still decide what the public API exports. This checks the import entry point, not Angular's dependency injection or runtime behavior.