DEV Community

Discussion on: Getting Started With Vue.js

Collapse
 
shadowtime2000 profile image
shadowtime2000

Another comparison is that, in React, everything is written in JSX, which is a syntax extension to JavaScript that was created to be used with React. I personally like JSX, but it may be hard for some people to get a handle on, so Vue is better for beginners in this way as well. Vue doesn’t have its own syntax, it just uses HTML and JavaScript.

It doesn't seem like you know much about React. JSX is just basically syntatic sugar, with tools like SWC and Babel it gets converted to function calls of React.creatElement, or with the new JSX transform, __jsx.