3 ms·
Yes, but with Vue it is optional. With React, it's required to use the tooling, specially because doing React without JSX is not fun.
by ahacker15 10y ago
Yes, but with Vue it is optional. With React, it's required to use the tooling, specially because doing React without JSX is not fun.
- RobertoG 10y agoNot so optional. You arrive to vue searching for simplicity and, when you start with Vuejs, you don't even need to download vue, you can use it from a CDN. Then you want to make a component, so you start typing the html in your javascript (because less is more!). Soon enough, you realize what a mess that is, so you decide to separate your component in the vue.js way. Then you realize that in order to 'compile' your component you need a preprocessor (webpack for instance). So you want to install webpack, and the sane way for that is npm. So you have to install node in order to install webpack in order to write .vue component files (that, by the way, your IDE doesn't know how to show) Then you start to think in going back to Angular. Naa, just joking, vue-cli is a good invention (when it works). Despite everything I said, I think I'm going to stay with Vue.js for a while. I really would like that Elm was in a more mature state.
- ascagnel_ 10y agoYou can transpile JSX to ES5 with Babel & it's plugin.
- raquo 10y agoYou can use hyperscript instead of JSX, no need to transpile anything, no need for webpack