Comments by "Charles M." (@charlesm.2604) on "The Official JavaScript Tier List is Here" video.

  1. Vue SFC approach is really neat. I hate JSX, and I hate that I have to use it. Why would you mix JavaScript and markup ? It makes for disgusting return statements. React's "just a library" lie approach* is also a waste of time, because you're gonna end up using React specific libraries without the advantage of boilerplate. On the same note, React doesn't have a powerful CLI for code generation and scaffolding like Vue and Angular. React has pseudo-functional mindset when it's not only not needed but also completely counter intuitive. Older React class based components were neat because you could take advantage of TypeScript interface implementation. Now you need to use hooks with poorly designed APIs for things that used to be super straight forward. Then you have styling. If you're going to embed HTML into JavaScript, why on earth aren't you embedding CSS in it as well ? For the love of god, make a DSL for CSS instead of forcing your users to use poor CSS-in-JS "libraries" with `template literals`, no syntax highlighting/formatting/suggestions, etc... And make it sit in your file with no purpose. Let not get me started on state management, it took I don't know how many year for the team to implement an atomic state management solution, and we still don't have proper a store API, we need to build on top of the poorly designed Context. Vue is good because it has a proper boilerplate and powerful CLI like Angular without enforcing a strict design so it's still accessible and manageable for junior devs. In addition to official libraries for routing, state management, testing, etc... And Vue has a great SFC design to keep views, styling and business logic separated but still closely connected. Model, expression, binding directives, etc... are so much better than throwing some JavaScript code in a JSX statement, I mean have you seen loops and conditional rendering in React? 🤮
    5
  2. 1
  3. 1
  4. 1