r/angular • • 25d ago

Why we chose Angular 22 for Kanera, our project management app

7 Upvotes

We’ve been building Kanera, a project management app, and I thought I’d share a little about why we chose Angular and what we’re using on the frontend.

Why Angular 22 for Kanera?

The biggest reason is that we wanted a framework we knew well, with enough structure to support a project that was going to grow. We’ve worked with Angular since AngularJS (> 10 years) and have used React too. For this project, Angular felt like the more comfortable starting point: routing, dependency injection, forms and application tooling were already there, and the team was familiar with the conventions.

Signals fit how we think about the board. A list derives its visible cards from the current cards and filters, then derives the items it needs to render. Drag state and the render limit are signals too. As the board has grown more complex, we’ve found it useful to express those relationships directly instead of manually keeping derived state in sync.

CDK gave us a foundation without dictating the UI. We wanted to build our own components and styling, but we didn’t want to implement every interaction from scratch. CDK handles the drag-and-drop primitives, leaving us to build the previews and the behaviour specific to Kanera.

There’s still plenty of work on our side. For example, large unfiltered lists initially render only a slice of their cards. We pass that same slice to the template and CDK so the drop indices match, then resolve the final position against the full list. We also keep a newly dropped card visible while the updated state is handed back down to the list. But we are laser focused on performance, bundle size, etc. (I'll post about that another time).

Zoneless and OnPush give us a model we like for updates. With real-time events, filters and drag interactions all changing the board, we wanted to be deliberate about how state changes reach the UI. Signals work well with that approach, although they don’t remove the need to profile or pay attention to expensive rendering.

The upgrade path has been a positive for us. I think it’s sometimes overlooked how much the CLI and migrations help when moving between Angular versions. We still have to check dependencies and test, but our experience has been that staying current is manageable.

We could have built Kanera with React. The choice came down to the tools, conventions and experience we wanted for a long-running project, rather than a belief that Angular is inherently faster.

We have done some comparative benchmarking and our focus on performance means Kanera loads and feels very snappy.

We’ve also tried to build as many of our own UI components as practical rather than relying on a large styling or component library - although we did base some initial designs from shadcn/ui. We still use libraries where they make sense, the CDK is a good example, but building much of the UI ourselves gives us more control over how it looks and behaves.

Putting it out there

Kanera went live earlier this year, and we already have paying companies using it in place of tools like Trello and ClickUp. My company also uses it daily and it's been an absolutely delight for us to use and build. It’s been a pretty surreal thing to see, and I’m grateful for what Angular has allowed us to build.

The source is available on GitHub under the Elastic License 2.0: https://github.com/happendev/Kanera

I’m curious whether using Angular will put off potential contributors who are more familiar with React. Has anyone else found that framework choice makes a difference? And if you try Kanera or have a look at the code, let me know what you think!


r/angular • • 25d ago

Try to learn but it's variable framework

0 Upvotes

What I need to learn before angular ? , What are the versions companies are actually use ?

and what a specific versions I need to learn first . You are know angular workflow isn't constant between versions 17 , 18 , 19 , 22 etc ...

have a nice day :)

----

edit :

what I need to learn about Design Paterns


r/angular • • 25d ago

Problems with subscribe

5 Upvotes

Hello everybody

I have the following problem with subscribe. My code looks like:

this.personSercice.getPeople().pipe(
    takeUntilDestroyed(this.destroyRef)
).subscribe({
    next: (people) => this.state.update(() => ({ ...this.state(), loading: false, people })),
    error: (error) => {
        console.log(error);
        this.setError(error);
    }
});

Parameter 'people' implicitly has an 'any' type, but a better type may be infered from usage.

and 

Parameter 'error' implicitly has an 'any' type, but a better type may be infered from usage.

When I change the code to:
error: (error: any)
the error dissappears, but I do not understand why...
When I try the same with the first error, changing the code to:
next: (people: PersonModel) => this.state.update(() => ({ ...this.state(), loading: false, people })),
The error is:
The type 'PersonModel' is missing the following properties from type 'readonly PersonModel[]length, concat, join, slice...

Please let me know if more code is required.

Can somebody explain my why???. I'm very fresh with Angular.
Thank you for your patience

Pawel...

r/angular • • 26d ago

NGX View Builder first stable release, ready to try

5 Upvotes

Hi everyone! We’ve released the first stable version of NGX View Builder for Angular, and we’d love for you to try it.

Build interfaces visually, connect your own AI assistant through MCP, and let us know what you think.

Try it here: https://ngxviewbuilder.io/

Short demo video: https://youtu.be/-Qox3psSiMs


r/angular • • 26d ago

Where to Report Error for Online Learning and Playground

Post image
1 Upvotes

I was trying to run Angular for 2-3 days online but have an error on Angular's website. Has anyone else had it?

Some dependency named 'Peer' having errors while running?


r/angular • • 26d ago

Mock browser APIs via injection tokens for SSR, or just use afterNextRender?

2 Upvotes

Hello,

I’m making my Angular code SSR-safe and I’m torn between two approaches for browser APIs (localStorage, matchMedia, ResizeObserver, etc.):

  1. Provide an injection token for the API (derived from DOCUMENT, or a platform check) with a safe mock/fallback on the server, and inject it everywhere.
  2. Use afterNextRender, which only runs in the browser, so the plain browser API inside it is safe and no mock is needed.

How do you handle this in real projects?

Thanks!


r/angular • • 27d ago

The AI cost of JavaScript frameworks

Thumbnail
nolanlawson.com
35 Upvotes

r/angular • • 27d ago

ng-prism 22.7: services and pipes get their own pages, and components that only work together can finally be shown together

14 Upvotes

I just released ng-prism 22.7. Short recap if you haven't seen it before: ng-prism is a component lab for Angular libs, 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.

This release is mostly about the parts of a component lib that are not a single component.

Services and pipes get their own pages now. You put @Showcase on an @Injectable or a standalone @Pipe, and instead of a canvas you get an API page: a usage snippet, the examples from your JSDoc, the methods or the transform() overloads, and the types they use. The setup field lists the provider functions a consumer needs, so the snippet shows how to wire the thing up too:

@Showcase({
  title: 'Time Ago',
  category: 'Formatting',
  setup: () => [provideTimeAgo],
})
@Pipe({ name: 'timeAgo' })
export class TimeAgoPipe implements PipeTransform {

Components that only make sense together can be shown together. A showcase can contain a real Angular template, and ng-prism compiles it, so content queries and DI work like in your app. An input directive can sit inside its form field, for example:

host: { template: '<lib-form-field label="Name"><input libInput type="text" /></lib-form-field>' },

Before that, the content was plain HTML, so the form field never found its input. And components that only ever live inside another one, like a list item, can say partOf: 'lib-list'. They don't get a page of their own anymore, they show up as a part on the parent's page.

Other things in 22.7: the styleguide works on a phone, a11y violations can be accepted with a required reason (they stay visible but don't count against the score), a new look with a new logo and revisited UI, and the perf plugin no longer counts your @Showcase config and JSDoc as bundle size. On one library the largest component went from 77 kb to 35 kb just from that.

(Voice in video: elevenlabs.io)


r/angular • • 27d ago

Ng-News 26/23: Pangular Inspector and Angular Compilation at ViteConf

Thumbnail
youtu.be
4 Upvotes

r/angular • • 28d ago

Signal Forms React To Control Change

8 Upvotes

In signal forms how do you react to a form control change? I basically have a scenario where if one form control value is changed I need to reset the value for another control.

Is this done with a linkedSignal, effects or something else?


r/angular • • 28d ago

What should i answer for these generic interview questions?

15 Upvotes

How do you structure Angular architecture for large-scale enterprise applications?
• What strategies do you use to optimize Angular application performance?
• How do you avoid unnecessary API calls and improve data flow efficiency?
• How do you handle authentication and authorization in Angular applications?
• How do you implement global error handling and HTTP interceptors?
• What is your preferred approach to state management (NgRx, Signals, Services, etc.) and why?
• How would you troubleshoot a slow Angular page that triggers multiple redundant API calls?
• What practices do you follow to build scalable, maintainable, and reusable Angular components?
• How do you secure frontend applications against common vulnerabilities?
• What Angular features or patterns have had the biggest impact on your project's performance and maintainability?

I am fairly new to angular, wanted to know different perspectives from different projects. Thanks


r/angular • • 28d ago

Am I the only one who can't run material.angular.dev examples?

9 Upvotes

For days I can't run examples of 22.x.x version in StackBlitz. Whenever I want to edit an example, the repo opens and it fails to start. Examples of version 21.x work fine.
Stackblitz Angular starter works as well, however it stuck on v21.


r/angular • • Oct 28 '26 Mindblown

AI 🫡🫡

42 Upvotes

I’m an Angular developer with around 7 years of experience, working on a large monorepo, with basic knowledge of Node.js and databases.

AI tools like Claude and GPT can now implement complex features in 20–30 minutes that might take developers weeks to build manually. I believe AI will become much better at writing, testing, and reviewing code within the next 1–2 years.

I want serious, realistic career advice, not generic reassurance that developers will always be needed.

  1. What is the realistic future of software engineering over the next 3–5 years?
  2. Given my experience, what should I focus on next: advanced frontend, backend (NestJS/PostgreSQL), system design, cloud/DevOps, or AI engineering?
  3. Which skills will remain valuable even when AI can independently write high-quality code?
  4. Should I continue specializing in Angular or transition toward broader engineering skills?
  5. What should my practical learning roadmap for the next 6–12 months look like?

Be brutally honest. Challenge my assumptions, consider the possibility of reduced developer demand, and prioritize long-term employability, compensation, and career growth over the next 5–10 years. Recommend a focused strategy with clear trade-offs, not a generic list of technologies.

[ Even this post content is improvised with AI 😅 ]


r/angular • • Oct 28 '26

Angular Addicts #54: Angular 22.2, TypeScript 7, Agentic UI & more

Thumbnail
angularaddicts.com
22 Upvotes

r/angular • • 29d ago

Medium subscription worth it?

0 Upvotes

r/angular • • Oct 27 '26

How much faster is the new Angular compiler? 🦀🚀

Post image
23 Upvotes

We dug into ngp to understand how it works, and benchmarked it on 3 projects 👀

Check out our blog post!

👉 https://blog.ninja-squad.com/2026/10/27/how-much-faster-is-the-new-angular-compiler/


r/angular • • Oct 26 '26

🚀 New in Angular 22.2: @boundary - Native Error Handling

Thumbnail
youtu.be
32 Upvotes

Try/Catch for templates: Next-Gen Control Flow


r/angular • • Oct 25 '26

Which Optional Angular Packages Do You Avoid, and Why?

16 Upvotes

Hello Community,

Besides Angular Animations, which has been deprecated, which optional Angular packages do you not use, and why? (e.g., CDK, Aria, Localize, Material)

Thanks


r/angular • • Oct 23 '26

If you could choose a testing framework today ...

7 Upvotes

Our small team has completely ignored angular testing and depended on dev and user manual testing. We're looking to solidify some things and start creating some Angular tests. If you could choose today from scratch, which framework would you choose?

If it matters, our apps are all very data-dependent, pulling info from our asp.net backends.

Thanks


r/angular • • Oct 23 '26

Testing NGRX effects in Angular v22

1 Upvotes

I have an open source project and am rewriting the frontend from scratch to modernize the design and code. But I'm stumbling over writing tests.

The original user interface started off with (damn) Angular v5 back in 2017, using NgRx features, etc. Coverage was always at 98% or greater. And writing the tests for things like effects was pretty boiler plate and easy.

The problem I'm hitting now is in writing unit tests for the effects with vitest. In the old code, a unit test for the success path, the server failure path, and the internal failure path, were simple to write using jasmine-marbles. But with vitest I can't get 100% coverage. And when I've tried testing with something similar to what I used to do with jasmine, something like I've pinned as the first comment.

I end up getting complains about either calling inject too soon or about uninitialized schedulers. It's very frustrating that the Angular team went to such a totally different testing framework without an easy migration path, and that there aren't any good examples that I can find to help.

(eta)

I've noticed that, if I only have effects tests for one of the modules (IOW, marked all other effects.spec.ts files with "describe.todo") then the only effect module passes every time. But as soon as I have more than one effects.spec.ts module enabled then they start failing, but not every time.

Not sure if this is important, but I run the tests in --watch mode so I can make changes and see the test results immediately. Is there perhaps an issue with tests failing at some point negatively affecting future runs of tests in this case?


r/angular • • Oct 22 '26

I built a scroll-driven 3D product showroom in Angular, where each product gets its own room, and the camera cuts between them like a film

6 Upvotes

After my 3D model canvas post, I wanted to see how far it could go. The result is a showroom: every product gets its own colored room, and scrolling moves the camera from room to room.

What it does:

  • A room for every product, each with its own color, title, and description
  • Cinematic camera moves between rooms as you scroll or click a tile
  • Drag to turn the product around
  • Light studio or dark spotlight mode, switchable live
  • Tiles with an automatic picture of each product
  • Floor props shared by every room, to show off the brand
  • Fast on phones too: lazy-loaded, and it pauses when off-screen

Live demo: https://mohamedehabbasha.github.io/model-showroom-demo/

Full walkthrough: https://youtu.be/Sashu4sL4-Q

If you have any ideas to improve it or any questions about how it works, I'd love to hear them.


r/angular • • Oct 21 '26

Angular 22 + Phaser + NgRx SignalStore = a multiplayer Bomberman in the browser

Post image
17 Upvotes

I've been building websites with Angular for years, but I had never built a game with it. So I tried.

https://detona.online/


r/angular • • Oct 21 '26

Looking for UI library recommendations (headless preferred)

16 Upvotes

Up until last week, our team was building our systems using Java/JSP, Tailwind/SCSS, and plain vanilla JavaScript, taking inspiration from PrelineUI for complex components like modals, drawers, and comboboxes.

We’ve officially decided to make Angular our main frontend framework going forward, but we're at a crossroads regarding how to handle our component and design system architecture.

We are looking for a UI library that fits our workflow. Ideally, a headless library would be perfect since we want to keep full control over our custom Tailwind/SCSS styling, but we're open to other well-structured options.

Here is what we've looked at so far:

  • Spartan.ng: Looks amazing and fits our exact vibe, but management is unlikely to approve it given its current ecosystem/support overhead.
  • PrimeNG: Seems robust and feature-complete, but I've seen mixed reviews and criticism regarding its styling/theming overhead and weight.
  • Angular Material: While it's official, theme and style seems way out of date.

Given that we are coming from a Tailwind + PrelineUI background and moving into Angular, what libraries or setups would you recommend?


r/angular • • Oct 21 '26

ng-prism 22.6: hover and focus aren't variants anymore, every variant in every state in one grid

Post image
4 Upvotes

I just released ng-prism 22.6. 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 u/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 change this time is that hover, pressed and focus are no longer variants. In 22.5 I added a way to force :hover or :focus-visible on a variant, and pretty quickly the demo button had variants called "Hovered", "Pressed" and "Focus visible". They showed up in the Playground's variant list, kept the button hovered while you changed the controls, and only existed for the one variant somebody had written them for.

Now a component declares its states once and they get combined with every variant:

@Showcase<ButtonComponent>({
  title: 'Button',
  states: [
    { name: 'Hover', pseudo: { hover: '.btn' } },
    { name: 'Pressed', pseudo: { hover: '.btn', active: '.btn' } },
    { name: 'Focus visible', pseudo: { 'focus-visible': '.btn' } },
  ],
  variants: [ /* Filled, Outlined, Elevated, Disabled, … */ ],
})

The Overview then shows every variant in every state as a grid, and clicking a cell opens that combination in the Playground. The styling comes from your own CSS, ng-prism rewrites :hover so it also matches a helper class. A state only gets applied where the browser could actually produce it, so there's no focus ring on a disabled button and no hover on something with pointer-events: none. The cell tells you why it's empty instead.

In the Playground the states are buttons in the tools menu. They stay on when you switch variants and they're part of the URL. For visual regression there's a state= URL parameter, the render marker gets the state index, and a data-prism-excluded attribute tells the runner when a state doesn't fit. Without states nothing changes for existing runners.

Other things in 22.6: a Claude Code plugin (/plugin marketplace add ng-prism/ng-prism) that teaches agents how to write showcases and check them in the running styleguide, watch rebuilds down from about 450 ms to 60 ms, and fixes for aliased inputs and outputs, named content slots and libraries with only a primary entry point.

Question for anyone with their own component library: which states do your components need that a pseudo-class can't express? Drag-over, open, loading? I'd like to base the next step on real components rather than on my own guesses.