Continuing the rant from my previous post, the frontend ecosystem is filled with lots of next-gen flashy tools popping out of nowhere. Beginning a new project is less of a nightmare than choosing the frontend tooling. There are quite a bunch of promising frameworks like qwik, solid.js, svelte and when coupled with vite, tailwind, SSR, hydration, typescript, etc, the choice is just endless.
Even though React, Angular and Vue have been on the top 3 best frontend approaches consistently, it is evident that Angular is not as popular as others. As with most cases, popular necesssarily doesn’t mean great and by no means Angular is without its faults. In this post, let us see why Angular is a great framework and why it deserves more love than what it gets currently.
A complete framework
Angular doesn’t embrace Paradox of Choice. It is a full framework in itself, with routing, http library, testing support, material components, etc. baked into one package. Even scaffolding, upgrading to higher version, building and deploying is seamless via the single integrated cli tool.
Consistent Code Structure
Angular has a very specifc way of writing code and it doesn’t matter who writes it, its almost always very similar. This is great because, its easier to understand and collaborate on a common code base.
Model-View-Controller & Dependency Injection
MVC and DI is an old and battle tested pattern for developing apps. Angular incoporates these patterns in a similar way to Spring Boot or ASP.NET compared to other frameworks like next.js or nuxt.js.
First class RxJs
Angular embraces reactive programming style with first class support for RxJs. Reactive programming is highly suited for asynchrous code like UI and with Angular, there is no need to worry about callback hells and long promise chains. It is easier to write performant code. The control flow is also easier to visualize with Observables over raw event emitter, promises or callback.
These points may appear minor but practically matters a lot when coding any UI. Angular is without a doubt one of the highly underrated beautiful UI framework for projects of any scale.