News for hackers. Stuff that matters.
Re:State of JavaScript 2020 by systemvoltage on Friday January 15, 2021 @07:34PM (#25798608)
> having an extremely stable platform that never breaks backwards compatibility is exactly what the web needs to be. Frontend development tooling would be so much better if it was more like browsers.

This is precisely my fear [1]. I need something robust and will continue to work for a good foreseeable future.

Do you recommend Angular for frontend? I've just tried React and Svelte, but I am told to stay away from Angular as a giant beast.

[1] https://news.ycombinator.com/item?id=25798573

Re:State of JavaScript 2020 by jamesgeck0 on Saturday January 16, 2021 @01:13AM (#25800486)
The Angular team at Google can make whatever changes they want, but they are required to update 1,000+ internal Angular applications if they make a breaking change, so it's a relatively stable framework. There's a new major release every six months, and upgrading is usually fairly painless.

It's fantastic for large applications. I've used it in a large product with hundreds of pages and forms and dialogs, and it would have been a nightmare without the sort of structure that Angular provides. It reminds me of Rails a little bit, in that it's opinionated about how things should work and you might feel some friction if you try to do something unusual.

Re:State of JavaScript 2020 by tstrimple on Friday January 15, 2021 @07:44PM (#25798691)
I've found Angular to be more effective than React at companies with a "developers are cogs" mentality. Angular has opinions about how things should be built and there is a lot of supporting material out there on how to do things the "Angular" way. It's much more heavy weight that React because it's a more comprehensive tool whereas React is just the rendering portion. If you're the type of developer who can push the boundaries of what's being done on the web, you'll be happier with React or other tools. If you want to just follow instructions and tutorials online for how to build a website use Angular or even a CMS.
Re:State of JavaScript 2020 by lytefm on Sunday January 17, 2021 @04:24PM (#25815097)
I definitely second these comments. The app that I maintain at work started with Angular 5. We're now on Angular 11, but upgrades have never been an issue! I also like how Angular can be quite easy to get started with when simply using two-way data binding without rxjs or some complicated state management library. Not every company has access to devs who are proficient in reactive state management and functional programming. Angular work surprisingly well for the average developer.