4 ms·
Vue.js is saner because it does not have that JSX nonsense and you can still write most of the code however you like, and later upgrade to babel,typescript etc.
by dz0ny 9y ago
Vue.js is saner because it does not have that JSX nonsense and you can still write most of the code however you like, and later upgrade to babel,typescript etc. Particularly I like component structure https://vuejs.org/v2/guide/single-file-components.html https://vuejs.org/v2/guide/single-file-components.html which kinda does the same in more traditional approach.
- Traubenfuchs 9y agoIt also works well in non npm/node.js environments.
- heidar 9y agoThe main reason I didn't consider Vue was because I like coupling HTML and JS like React does. But this seems like a much nicer way of doing it than JSX. I'll have to give Vue another chance.
- masklinn 9y ago> But this seems like a much nicer way of doing it than JSX. Note that there is no requirement to use JSX, JSX is just syntactic sugar for the underlying function calls which you can use directly: https://facebook.github.io/react/docs/react-without-jsx.html https://facebook.github.io/react/docs/react-without-jsx.html That's useful when you don't want to add a local compilation file when developing/debugging.
- jonheller 9y agoHear hear. I used Angular for about a year and tried to use React for about six months. Then I tried Vue and I couldn't not believe just how much more sense everything made. Give it a shot.
- luord 9y agoCame here to mention this one. Vue is nice and clear in all the ways React and Angular (both flavors) are not. It's just simple and enforces "good" practices by making sense of them.