DEV Community

Discussion on: My Completely Biased Reasons for Choosing Angular

Collapse
 
brunnerlivio profile image
Livio Brunner

100% agree with your point on "opinionation". The beauty of Angular is that because of its similar paradigms you'll find it so much easier to on-board to any other Angular project.

In contrary, for complex React application it's like the wild-west; so many different approaches and libraries which may or may not be used, depending on the opinions of the team who maintains the app.

On the flip-side -- and that is just fundamental differences of Angular vs React specifically -- it always bugged me how much overhead I need to create for a single component. With React it's as simple as creating a function in a simple TSX or JSX file. I usually see that in Angular apps I create way less (stateless-) components because of that.

I also prefer React JSX over Angular template engine. It just feels so much more "native" to use a "syntax sugar"-ed JavaScript than a completely custom HTML engine.

I think StencilJS nicely solves both of these mentioned issues by offering Class & Functional components as well as JSX templates.

Collapse
 
johnbwoodruff profile image
John Woodruff

Thanks for the thoughtful reply! I absolutely love Stencil, Iโ€™ve actually written a fair amount about it here in dev.to! ๐Ÿ˜‚ I will say though that I donโ€™t personally use Stencil for anything other than component libraries/design systems, and it comes down to the fact that Iโ€™m way more productive with Angular when building large apps. (Again, entirely opinion based)