How to Pick the Right Dependencies for Your Angular Application

How to Pick the Right Dependencies for Your Angular Application

Choosing the right libraries/dependencies for your Angular applications can make or break your project in the long run. Learn how to pick the right dependencies.

Alain Chautard

Alain Chautard

April 7, 2026

Choosing the right libraries/dependencies for your Angular applications can make or break your project in the long run. I’ve seen way too many consulting clients stuck with an older version of Angular because of a dependency that isn’t maintained anymore.

Here are a few rules to follow:

1. Are you sure you need a dependency for this?

Do you really need one library for your date picker, one for your multi-select dropdowns, and one for your dialogs? The more dependencies you use, the more likely you are to get stuck at some point.

HTML/CSS is always evolving and supports dialogs/modals (my tutorial here) natively, as well as progress bars, sliders, color pickers, date pickers, and more… Such features are available at no cost since the code to run them is already in every single browser.

2. Trust well-known component libraries

If you do need several advanced components, use one single library that has them all. I always recommend Angular Material as the first choice because the library is maintained and released at the same pace as Angular itself, which means you can upgrade your apps with no delay when a new version of Angular comes out.

Kendo UI is pretty good, too, as is Project Clarity. You can recognize component libraries deeply involved in the Angular community because they always sponsor major Angular conferences. They invest lots of energy and resources in being performant and up-to-date because their library is their main source of revenue.

3. Is the library Angular-friendly?

The Angular team recommends libraries to use ngx- as a prefix to their name. Most libraries prefixed with something like ng2- or ng- do not follow that simple recommendation and, as a result, are most likely to cause issues in the long run.

While there are no warranties that maintainers of ngx- libraries won’t give up on their project at some point, I’ve found over the years that the naming alone is a great indicator that the maintainer(s) adhere closely to best practices and recommendations established by the Angular core team.

If the library is not Angular-specific, ensure it has Typescript type definitions available and doesn’t depend on too many other libraries or frameworks (yes, I’ve seen Angular projects depend on code that required React or Vue as a dependency!).

Always remember that the more code you add to a project, the slower your application will be.

4. Do your due diligence on npmjs.com

All Angular libraries are available on NPM, and NPM gives a lot of information away. For instance, let’s say I’m wondering if I should use Prettier or not:

Press enter or click to view image in full size

FnN4VjSrNwqrcD1Usd8FSQMYfs1tketQ1uldh7L0.webp

Right from Prettier’s NPM page, I can see that the last version was published 4 days ago (it’s actively updated) and that there are over 14,000 projects using it (I won’t be alone).

The examples on that NPM page, the basic documentation, the number of opened issues… All of these are indicators that can help you decide whether or not to trust a library.

5. Do your due diligence on Github

If NPM looks good, then I always look at Github:

  • How many open issues are there?
  • Are people actively responding to issues and handling them? How fast does that happen?
  • What kind of information is in the README file?

Press enter or click to view image in full size

pxDJC18Lex5CEmRxnrd3yjEsTSIPn4a0jqc0dXpE.png

In the screenshot above, we can see that even if there are 938 open issues, more than 5,000 have been closed. Even the issues posted just a few hours ago have already received at least one response/comment. This tells me that I’ll get help if I encounter an issue with the library.

Some other good things to look at are:

  • How many people contribute to the library? (if it’s just one or two people, what happens when they stop maintaining it?)
  • How often are new versions released? Every few days, months, or years?
  • Is there continuous integration with automated testing in place?

As far as Prettier goes, with 625 contributors working on the library, there isn’t much to worry about.

Conclusion

The above are most of the rules I follow. If there are no red flags in any of the above checks, then the library can be trusted as a dependency.

This article originally appeared on Medium.

More certificates.dev articles

Get the latest news and updates on developer certifications. Content is updated regularly, so please make sure to bookmark this page or sign up to get the latest content directly in your inbox.

Looking for Certified Developers?

We can help you recruit Certified Developers for your organization or project. The team has helped many customers employ suitable resources from a pool of 100s of qualified Developers.

Let us help you get the resources you need.

Contact Us
Customer Testimonial for Hiring
like a breath of fresh air
Everett Owyoung
Everett Owyoung
Head of Talent for ThousandEyes
(a Cisco company)