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.
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)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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)