Re:2016 JavaScript Rising Stars
by irrational on Wednesday January 18, 2017 @03:48PM
(#13430150)
This is just anecdotal, but I've never used Angular. I tried using React a few times but kept stopping since I didn't have enough time to get all the toolchain pieces installed and working together. Then I started hearing about vue so I tried learning it by dropping the vue.js file into the html page and it just worked.
> I didn't have enough time to get all the toolchain pieces installed and working together
You mean "babel --presets react src > out.js"?
The problem here is people keep comparing the React ecosystem to the Vue library.
Re:2016 JavaScript Rising Stars
by Traubenfuchs on Wednesday January 18, 2017 @04:53PM
(#13430650)
> babel --presets react src > out.js
That is not a realistic workflow anyone would ever use.
We're sitting on several hundreds (yes, hundreds) "real world" apps and you can bet your butt that some of them do just that.
The more advanced ones use the whole tool chain. Simple ones are just a silly 1 liner script like that. Some don't use JSX at all and just straight up stick React on a page. It all works just peachy.
I'm sorry, what? A "compile" step is something nobody would ever do? Are you writing a lot of machine code these days?
Re:2016 JavaScript Rising Stars
by Traubenfuchs on Wednesday January 18, 2017 @04:48PM
(#13430606)
Superficially angular 1 and vue are very similar, so you might be on to something. But that's something great: There is a reason why angular 1 was widely adopted insanely fast. It's great to have a high performance replacement for it that is still under active development.
As I'm currently very happy with React I know too little about them, so correct me please.