Me too. I have used a bunch of template-based tools (AngularJS, Angular, Polymer, Vue) and then React for a while and, while I am getting kind of used to the latter, I am still struggling to understand why it is so popular. I find the template-based approach preferable because it:
Lets you write code that is near-identical to the end result (more straightforward, less cognitive load)
Similarly, lets you more easily make use of the browser inspector
Helps you very quickly grasp what the component will look like, when reading it
Should be familiar to anyone who has done any kind of frontend programming before
Reduces JS boilerplate
Naturally separates view from logic
Is there something I'm missing?
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.
Me too. I have used a bunch of template-based tools (AngularJS, Angular, Polymer, Vue) and then React for a while and, while I am getting kind of used to the latter, I am still struggling to understand why it is so popular. I find the template-based approach preferable because it:
Lets you write code that is near-identical to the end result (more straightforward, less cognitive load)
Similarly, lets you more easily make use of the browser inspector
Helps you very quickly grasp what the component will look like, when reading it
Should be familiar to anyone who has done any kind of frontend programming before
Reduces JS boilerplate
Naturally separates view from logic
Is there something I'm missing?