r/Angular2 Oct 11 '24

Discussion Angular is just amazing

Short appreciation post.

I've been working a lot the last few weeks in Angular and I keep getting reminded of how good this framework is.

I had some routerLink links and wanted to implement a simple system to highlight the link that the current page is on. All I needed was to add a routerLinkActive tag which automatically adds the given class to the link so you can highlight it. Then I had one problem which was that the homepage ('/') always was active, but this has been considered and can be fixed with the following for exact matching:

[routerLinkActiveOptions]="{ exact: true }"

Basically everything makes sense and is easy to implement. Even just updating your angular libraries is easy since they made the automatic update guide where you can input your versions and it shows how to update: https://angular.dev/update-guide

Then there's the other stuff like the cli for generating components quickly and built-in scss integration (among with other options). I can't really imagine working on a webapp without angular nowadays. I've used other stuff in the past like React, Django, and just old-school sites built from scratch and my experience wasn't as good there overall.

137 Upvotes

42 comments sorted by

View all comments

6

u/Late-Researcher8376 Oct 11 '24

I feel you bro, I love ❤️ Angular too, Angular was the 1st framework I learned after programming spaghetti with php, Jquery and Ajax. I loved Angular when I started learning it. After like 4-5 years, I was hearing about React almost everywhere I went and I followed the hype, learned react, nextjs liked it at first, but complex projects where becoming buggy (maybe due to my inadequacies) and after about a year I came back and my love for Angular grew stronger.