|
|
|
|
|
by masklinn
3225 days ago
|
|
> I used React for a few years and it was great and powerful, there were many things however that I disliked.. Particularly I was not a fan of JSX. JSX is no more than sugar for vdom function calls. You can use React without JSX, and you can use Vue with JSX. > When I first saw VueJS I had a hard time understanding how it would be any better than React, that is until I saw single file components. > I fell in love with the eloquence of being able to separate my HTML, JS, Styles for a single component.. it seemed /right/ to me.. You… can do that just fine in React? The logic and "template" are in the same file in the first place, and there are solutions like styled-components, csjs or react-styl if you also want the JS. |
|
Of course you can, these are open sourced projects and you can modify and add packages to do just about anything you want it to do.
However, when presented with an option that is designed from the ground up to work exactly the way you like it, why not use it?
I can install a dozen different packages along with React so that I can get it set up exactly how I want, or I can just use VueJS whose creator's philosophy are more inline with my own and is designed exactly how I like my front-end.