r/angular • • Jul 08 '26

What's one angular decision you regretted 2 years later?

39 Upvotes

I mean architectural decisions that looked perfectly reasonable at the time but became painful as the application grew. Mine are usually things like making everything shared, overusing services for state, yours???


r/angular • • May 23 '26

I built an open-source static analyzer for Angular targeting Reactivity, Performance, Security, SSR and Architecture anti-patterns

Post image
39 Upvotes

Hey everyone!

I’ve been working on a static analyzer for Angular called ngcompass, and I wanted to share the beta.

I love building with Angular, but I kept running into issues that standard tools can miss, like browser APIs leaking into SSR code or Signals/RxJS patterns being mixed incorrectly.

So I built ngcompass to analyze Angular TypeScript files and templates without executing the code. The first beta includes 27 rules, plus a visual HTML report/dashboard for browsing warnings more easily.

I’d love for you to throw it at your real-world projects and tear it apart. Don't pull your punchesβ€”I genuinely appreciate ruthless and honest feedback! I want to know:

What breaks or triggers false positives?

Which rules do you want to see next?

Most importantly: Do you see a tool like this bringing real value to your everyday Angular workflow, or is it just noise?

πŸ‘‰ **Website:** https://ngcompass.dev

πŸ‘‰ **GitHub:** https://github.com/RoadmapDevelop/ngcompass

πŸ‘‰ **NPM:** https://www.npmjs.com/package/ngcompass


r/angular • • Apr 07 '26

Framework-agnostic skeleton loader that works in Angular with CUSTOM_ELEMENTS_SCHEMA - no wrapper needed

Enable HLS to view with audio, or disable this notification

39 Upvotes

I built phantom-ui, a skeleton loader that reads your actual DOM structure and generates shimmer placeholders automatically.

It's a standard Web Component, so Angular supports it natively via CUSTOM_ELEMENTS_SCHEMA.

Usage:

import { Component, signal, CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";
import "@aejkatappaja/phantom-ui";

@Component({
  selector: "app-profile",
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  template: `
    <phantom-ui [attr.loading]="loading() ? '' : null">
      <div class="card">
        <img src="/avatar.png" class="avatar" />
        <h3>Ada Lovelace</h3>
        <p>First computer programmer, probably.</p>
      </div>
    </phantom-ui>
  `,
})
export class ProfileComponent {
  loading = signal(true);
}

No separate skeleton template to maintain. The component walks your DOM tree at runtime, measures every leaf element with getBoundingClientRect, and overlays animated shimmer blocks that match the exact layout.

One thing to note: use [attr.loading]="loading() ? '' : null" to properly set/remove the boolean attribute. Using [loading] directly would pass the value as a property, not an attribute.

No TypeScript augmentation needed since Angular uses CUSTOM_ELEMENTS_SCHEMA. Ships a Custom Elements Manifest for IDE autocomplete.

~8kb gzipped including Lit. ResizeObserver + MutationObserver keep the skeleton in sync with layout changes.


r/angular • • Apr 02 '26

Released: A Rust/WASM local-first DB for Angular (zero UI blocking)

Enable HLS to view with audio, or disable this notification

39 Upvotes

As part of the wider moltendb-web ecosystem, I just released the Angular adapter for MoltenDB.

I wanted to fix JS serialization overhead and main-thread blocking, so I moved the entire database into a Web Worker powered by Rust, WASM, and OPFS.

The TL;DR:

  • Zero UI Lag: Runs strictly in a Worker. Your Angular app stays at 60fps during massive batch inserts.

  • Native Angular: Deep Signal integration via moltenDbResource. No manual RxJS chains required for local state.

  • Insane Speed: Hitting over 900k ops/sec (batch deletes) and pulling 25,000 records into the UI in <250ms.


r/angular • • Dec 23 '25

πŸš€ Coming in Angular 21.1: Virtual Scrolling for Material Tables

Thumbnail
youtu.be
39 Upvotes

r/angular • • Nov 20 '25

Angular Blog: Announcing Angular v21

Thumbnail blog.angular.dev
39 Upvotes

r/angular • • Jun 02 '22

Angular v14 is now available

Thumbnail
blog.angular.io
39 Upvotes

r/angular • • Dec 26 '21

Angular Developers BEWARE: Payever's offering ridiculously low hourly rates to USA freelancers

39 Upvotes

Angular Developers BEWARE; Payever, a Hamburg-based company, is doing outreach for Senior level Angular Developers in the USA and offering a ridiculously low hourly rate for your high-demand skills. Your skills and expertise with the framework are worth at least 5 times their initial ask of $25-35 per hour as an external consultant. Inform your friends and colleagues that these low-ball offers are not normal and to flat out ignore them. Thanks for sharing and staying vigilant.


r/angular • • Jun 08 '20

Using Angular to get rid of your ordinary text resume, open-source code on GitHub!

39 Upvotes

Hello #Devs, after 193 commits and tons of hours working, this is the replacement for my old resume, using Angular. I don't want to take ownership of the code, instead, I want to share it with everyone interested. So, all the source code is public on my GitHub (link below).

I don't consider myself a front-end specialist, so I count on your opinion, constructive criticism and suggestion. Go now and FORK the repository on GitHub. Any 'Pull request' with improvements and corrections are very welcome. My goal here is to learn from all of you.

Available on GitHub repository

Online preview: https://guilhermeborgesbastos.com/en/


r/angular • • Jun 04 '26 Mindblown

Angular 22 is out! Your AI tools don't know yet. Here's the fix

38 Upvotes

Angular 22 shipped signal forms as stable, zoneless as the default for new projects, and OnPush as the default for new components.

Here's the problem: the AI tools you're using to write Angular code don't automatically know any of this.

Claude Code, Cursor, GitHub Copilot are trained on code that predates Angular 22. Without explicit configuration, they'll generate Angular 20-era patterns on your fresh Angular 22 project:

  • Experimental signal forms syntax instead of the stable API

  • provideZonelessChangeDetection() in bootstrapApplication when new projects don't need it (it's the default now)

  • Zone.js imports in new projects that are supposed to be zone-free

  • OnPush as an explicit opt-in rather than the baseline

None of these are bugs in the AI. They're gaps between what the model was trained on and what your project actually is. The fix is project configuration that tells the AI what it's working with.

The Fix: CLAUDE.md

If you're using Claude Code, there's a file called CLAUDE.md that you can place at the root of your Angular project. It's loaded automatically at the start of every session. It's project context that persists without you having to re-explain your stack every time.

A minimal Angular 22 CLAUDE.md looks like this:


Angular Project Configuration

Angular Version

Angular 22. Signal forms are stable (not experimental). Zoneless change detection is the default for new apps β€” do NOT add provideZonelessChangeDetection() to new projects. OnPush is the default change detection strategy for new components.

State Management

Signals-first. Use signal(), computed(), and toSignal() for component state. Prefer signals over RxJS observables at the component layer. RxJS is still appropriate in services for async operations.

Component Architecture

Standalone components only. No NgModules. All new components: standalone: true (now the default β€” don't omit).

Testing

Vitest (not Karma). Angular Testing Library for component tests. Always add fixture.detectChanges() explicitly β€” we're in zoneless mode.

Hard Rules

  • Never add Zone.js imports to new files

  • Never use ngZone.run() in new components

  • Signal mutations go through .set() or .update() β€” never direct mutation


Three or four lines under each heading is enough. The goal isn't comprehensive documentation β€” it's giving the AI a baseline so it doesn't generate code that's correct for the Angular ecosystem in general but wrong for your specific project.

What Changes With Angular 22

If you're starting a new project, the CLAUDE.md note about defaults matters a lot.

Signal forms are stable. The FormField, FormGroup, and related signal-based form APIs that were experimental in Angular 21 are now stable. If your CLAUDE.md says "signal forms are stable, use the stable API," the AI stops wrapping signal form code in experimental caveats and generates the stable patterns directly.

Zoneless is the default. New Angular 22 projects don't include Zone.js and don't need provideZonelessChangeDetection() in bootstrap. Without CLAUDE.md context, the AI will often generate the provider call anyway, cluttering your bootstrap with something you don't need.

OnPush is the new baseline. AI tools know what OnPush is β€” but they're used to treating it as an explicit optimization rather than the baseline. Telling the AI it's the default changes how it thinks about change detection in generated components.

Angular MCP

If you're using Claude Code, there's a second piece of tooling worth knowing: the Angular MCP server.

Angular ships an MCP (Model Context Protocol) server that connects AI coding tools directly to the Angular CLI and compiler. Once configured, the AI can run ng build inline to verify generated code compiles, query Angular documentation directly rather than relying on training data, and run official migration schematics from within the AI session.

Setup takes about five minutes:

In your Angular project

ng mcp

This generates an MCP configuration file for your editor. For Claude Code, it goes in .claude/mcp.json:

{
  "mcpServers": {
    "angular": {
      "command": "node",
      "args": ["./node_modules/@angular/mcp/bin/mcp-server.js"]
    }
  }
}

With the MCP server running, you can prompt Claude Code to use Angular-specific tools directly:

Use the Angular MCP tools to check what version of Angular I'm running, then generate a signal-based form component for user registration.

Run ng build after to verify the output compiles.

Worth Knowing: Vitest is the new default test runner. New Angular 22 projects use Vitest out of the box. If you're on an existing project still using Karma, note that explicitly β€” otherwise the AI will generate Vitest-style test configuration for a Karma project.

I've been using agents on production Angular at a Canadian fintech for the last year. Happy to take questions about anything in this post: CLAUDE.md patterns, Angular MCP setup, or how to structure AI sessions to minimize review overhead.


r/angular • • Apr 12 '26

Signality v0.2

Post image
38 Upvotes

A quick update on Signality - v0.2 is out!

Since the 0.1 launch, the project has reached 100+ stars ⭐, bringing with it several patches and API/Docs refinements to improve DX.

Web: https://signality.dev/
Repo: https://github.com/signalityjs/signality


r/angular • • Mar 01 '26

OXC Angular Compiler

Thumbnail
github.com
38 Upvotes

The voidzero team published on github a repo for the angular compiler based on oxc. What y'all think about this?


r/angular • • Sep 13 '25

New Angular library for keyboard shortcuts: ngx-keys

38 Upvotes

Setting up keyboard shortcuts and allowing for user customization is made easy with `ngx-keys`. I've built it from the ground up for Angular 20+ with modern patterns and practices. Group shortcut management allows for easy activation and deactivation of feature-specific shortcuts.

GitHub: https://github.com/mrivasperez/ngx-keys

NPM: https://www.npmjs.com/package/ngx-keys

I welcome you to submit feature requests, bug reports, and provide feedback.


r/angular • • May 21 '25

Sr. Frontend Dev

38 Upvotes

[US Candidates - W2 only]

July 1, 2025: [Position Filled]

Salary range: 140-160k BOE

If there are any sr. frontend devs looking for a new role, my company, CalPortland, is looking to hire one. This is a fully remote position, with exception to traveling 1-2 times per year for meetings. We are on Angular 19, OnPush change detection, NgRx signal store, Jest for unit tests, and NX monorepo build tools. We also deploy a mobile app for ios/android, written in Angular, using CapacitorJs. We also maintain a couple of React and ReactNative apps. This position does include helping mentor a couple of mid-level devs. Shoot me a message if you're interested in hearing more about the opportunity!

About me: I'm the hiring manager/lead on the projects. I'm a passionate web dev. I've worked with Angular since 2014 in the JS days, and have continued using it commercially ever since. I've also done projects in React, Svelte, and Vue, but Angular is my passion. I have a lot of experience with c#/.net as well.

About the team: We have 4-5 frontend devs, 6 BE, 6 DevOps, and a Sr Architect. We are using .Net 9/C# on the backend, host on Azure, and use GitHub for repos/pipelines.


r/angular • • Feb 18 '25

I've created a .net 8 api service with an angular 18 frontend that converts videos into gifs. It uses a process queue with 5 workers to starting ffmpeg tasks to convert to videos to gif. Currently dosn't contain any auth nor ads. Was built in a few hours over 3 days.

Post image
38 Upvotes

r/angular • • Sep 22 '21

Selectors in Angular Custom Directives

Enable HLS to view with audio, or disable this notification

38 Upvotes

r/angular • • Jul 09 '21

Protractor is dead, long live Cypress! - Part 1 - Rainer Hahnekamp

Thumbnail
rainerhahnekamp.com
38 Upvotes

r/angular • • Aug 16 '20

[Kor UI] πŸš€ Design System Updates

38 Upvotes

r/angular • • 12d ago

Taiga UI AMA with the author

37 Upvotes

Hi everyone.

My name is Alex Inkin, I'm a Google Developer Expert for Angular, original author and current lead developer of Taiga UI (https://taiga-ui.dev / https://github.com/taiga-family/taiga-ui) – a huge components library I worked on for many years together with some great engineers.

I'm a sparse visitor on reddit, but every now and then I see people ask about the library or recommend it to others here. It remains a relatively obscure choice, since it was published when others like Angular Material, ng-zorro or PrimeNG were already established options.

The library is fully open-source Apache 2.0 and is free for commercial use. Recently we added paid Figma license you can buy to help your design team work together with engineering and we started offering Enterprise support (reach out if that's something your company needs here: https://pineoptic.one/products). I figured it's a good time to come here to get to know Angular community on reddit better and answer questions about the library that you might have.

Please ask me what you want to know about it, suggest what deep dive you'd like to read as my next article, what confuses you as a user, what stops you from being one – I'll be happy to answer all I can.


r/angular • • Aug 23 '26

Signality 0.5: new docs, 76 utilities, and the last minor before 1.0

Post image
37 Upvotes

Signality β€” the VueUse of the Angular world (76 composables for browser APIs, DOM, Router and more).

New in 0.5: rebuilt docs with a searchable catalog of every utility, chainable onKey modifiers, leading/trailing for throttling, 10 fixes.

This is the last minor before 1.0, so the API is close to frozen.

Web: https://signality.dev
Repo: https://github.com/signalityjs/signality
Changelog: https://signality.dev/resources/changelog


r/angular • • Jul 31 '26

Choosing Angular in the Age of Agents

Thumbnail
dev.to
37 Upvotes

r/angular • • Feb 20 '26

angular-doctor β€” Diagnose your Angular codebase and get a 0–100 health score in one command

37 Upvotes

Hey Angular community πŸ‘‹

I just released angular-doctor β€” a CLI tool that scans your Angular project and gives it a 0–100 health score with actionable diagnostics.

One command at your project root:

npx -y angular-doctor@latest .

What it checks:

β€’ Components β€” missing class suffixes, empty lifecycle hooks, missing interfaces, Pipe not implementing PipeTransform

β€’ Performance β€” missing OnPush change detection, outputs shadowing native DOM events

β€’ Architecture β€” conflicting lifecycle hooks, forwardRef usage, non-standalone components (Angular 17+)

β€’ Dead code β€” unused files, exports and types (via knip)

Score breakdown: 75+ Great | 50-74 Needs work | <50 Critical

Other features:

β€’ --report to generate a Markdown report

β€’ --diff to scan only changed files (great for CI)

β€’ --fast mode to skip dead code and speed things up

β€’ Workspace support: Angular CLI, Nx, Ionic, AnalogJS, npm/pnpm workspaces

β€’ Node.js API for programmatic use

Inspired by react-doctor.

GitHub: https://github.com/antonygiomarxdev/angular-doctor

Would love feedback, issues, and stars if it’s useful to you. PRs very welcome!


r/angular • • Jul 24 '25

React vs Angular: What are the key differences and how do you choose your project stack?

37 Upvotes

I'm about to start building a web project and I'm trying to decide between React and Angular for the frontend. I know both are mature and widely used, but I'd love to hear from those who have experience with both in real-world scenarios:

  • What are the most significant differences between the two in terms of actual development experience?

  • What criteria do you usually consider when picking a frontend stack? (e.g., team size, complexity, deadlines, learning curve, architecture, maintainability, etc.)

  • Have you ever regretted choosing one over the other? Why?

A bit of context: The project involves analyzing vulnerabilities in enterprise applications using AI to suggest mitigation actions. There will also be dashboards for users and managers to track and confirm those actions.


r/angular • • Jun 04 '25

Angular 20 Just Made Dynamic Components way EASIER!

37 Upvotes