3 ms·
I've found that Angular2/3/4/5/6/7 has been great for quickly putting together a website. I've been using it to build enterprise sites for several years. Last
by mattlondon 8y ago
I've found that Angular2/3/4/5/6/7 has been great for quickly putting together a website. I've been using it to build enterprise sites for several years.
Last time I looked at React you had to pick & include separate libraries for things like routing or dependency injection yourself, and these are separate things by separate people and the libraries you pick may or may not work with others now or in the future - think DLL hell with conflicting versions and a rock and a hard palce in terms of what you upgrade. That was a deal breaker for me.
Angular on the other hand has a lot of this built-in already. Bonus points for Angular is that it has an extensive, mature and well-maintained official UI library (https://material.angular.io/ https://material.angular.io/) and now has a CLI tool for quickly scaffolding your app. As a result, putting together a website with Angular these days is trivially easy - its like lego. There are Long Term Support releases if you are worried about churn, but I've not found the changes between major versions to be anything to worry about.
Criticisms of Angular:
- feels like quite a lot of boilerplate code has to be written if you dont want to use the CLI tool (and if you do, a lot of the code it generates might look like "magic" unless you bother to go learn how modules and bootstrapping etc work)
- inter-component communication (beyond simple parent-child relationships) feels a bit awkward and "unclean" (parent-child is trivial though)
- learning curve for the RxJS stuff can be high if you are not familiar with it and are doing anything slightly complex.
For the backend, I've personally been using Golang. Not used node.js professionally, but I am very interested by node.js's replacement http://deno.land/ http://deno.land/ - deno+TypeScript on the backend and Angular+TypeScript on the frontend is very tempting.
VSCode is the absolute go-to editor for all of this stuff. It really is pretty decent.