Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 1
2 answers
87 views

I want to be able to let the user select themes and light or dark mode, but let the system default light/dark mode apply when selecting a different theme, but I can't figure it out. For some reason ...
Score of -5
0 answers
78 views

I am developing an Angular version 21 application. When I ran npm audit fix, gave 5 vulnerabilities. I ran this npx npm-check-updates command and updated some packages. Below is package.json file: { ...
Best practices
1 vote
2 replies
66 views

I want to write vitest tests for a component that uses a signal form. I tried: import { form } from '@angular/forms/signals'; import { signal } from '@angular/core'; // describe ()... it('some test',...
Score of 0
1 answer
77 views

I have an Angular frontend using angular-oauth2-oidc with a C# backend running Duende Identity server. The current redirect URI is simply the website home page. Using 'code' responses. Currently, when ...
Score of 1
2 answers
99 views

I am working on a project with Angular Material, and I am using CSS files for styling. I have media queries like this: @media (width <= 768px) { .desktop-menu { display: none; } } However, ...
Score of 0
1 answer
63 views

I have seen Angular Material Icons used in two different ways: <mat-icon>thumbs_up</mat-icon> and <mat-icon fontIcon="thumbs-up" />. What is the difference between them, ...
Score of 2
2 answers
159 views

After resetting an Angular Signal Forms, the browser’s :user-invalid state remains on required inputs. As a result, design system styles that use :user-invalid continue to show error styling even ...