DEV Community

loading...

Discussion on: Angular struggles in 2020

Collapse
aisone profile image
Aaron Gong • Edited

Between AngularJS, Vue and React, my best experience was with VueJS.

I never moved to Angular it was too much of a shock for me, what if I had many large scale projects already on AngularJS... it would be painful.

And the whole concept of Angular feels like a monolith, like Dojo toolkit and Sencha ExtJS, hard to turn around when things change (e.g. mobile screen size introduced).

Vue 3 with Vite3/Snowpack, ES Modules etc. is a game changer. I mix it with HTML Custom Elements, and use Javascript native APIs to reduce exposure to technical debt and breaking changes in dependencies.

Even VueJS ecosystem is not immune to changes... the Vee-validate is one such example, major version change requires rewrite of the validation code... imagine if just one application has 20 forms and each form has 20 fields... One would be better off working with native HTML5 Validation.

All those supporting UI frameworks like Bootstrap, Ant Design, Material UI, etc... for vue/react/angular/etc were designed as monoliths...

Moving to HTML Custom Elements (aka Web Components) should help make your UI less susceptible to underlying vue/react/angular/etc framework changes...

At the end of the day I do not want to revisit and rewrite what I have written.

The only big advantage I know of having to keep rewriting and updating is that this will help keep one employed perpetually...