Comment by tcfhgj

16 days ago

What about Angular 2+?

After the disaster of AngularJS that we are still paying external EOL support on, I will never trust another Google led framework.

Angular 2+ is equally horrible. Having spent 6 years on various versions of Angular, their migration story time and again has been an incredible pain.

These days I use web components for component writing and frameworks to handle routing, state management, bundling, and so on.

  • can you compare it to other frameworks?

    I migrated from Angular 4 to 18 (including ngrx and material) and didn't find it especially problematic.

    Migrating mostly was little effort and consisted of automatic migration and walking through the provided checklist (mostly to ensure I didn't miss anything important), but I don't have any comparison in the JS SPA ecosystem.

    • Vue 2 to Vue 3 has been equally painful for atleast one app I know about. Compare that to last three versions of Astro (with web components) and it has been a breeze.

      > I migrated from Angular 4 to 18 (including ngrx and material) and didn't find it especially problematic.

      The pain varies from project to project. Mine has been touched by a generation of developers of different levels of proficiency. A more disciplined project would’ve been easier to migrate in retrospective.

      I think Angular ecosystem really missed the train with schematics (even ngrx!). Schematics could tackle a lot of toil if implemented exhaustively but apart from Angular and Material, nobody else seems to implement them effectively for brownfield projects.

I tried Angular 2+ back in the day. I found it frustrating to learn as the API had changed between versions, and when searching for help you would come across a blog post/stackoverflow answer, start implementing it and realise it didn't work in the version of Angular your project was in. Frustrating.

Tried React afterwards, this frustration didn't really exist and it was much easier to pick up.

  • The frustation is pretty much there under Vercel's stewardship, especially when React comes in the shape of Next.js.

    It is apps or pages, which supports what, what new use cases is "use..." now for, ....