7 ms·
Fascinating to see Vue.js and Inferno both doing so well last year. Vue is definitely lot easier to learn than React, for new Developers, but I could be wrong s
by falloutx 10y ago
Fascinating to see Vue.js and Inferno both doing so well last year. Vue is definitely lot easier to learn than React, for new Developers, but I could be wrong since I haven't tried it a lot. Don't know how it scales up for large applications.
Preact is also another dark horse. This year we are going to see a few more "react-like" UI libraries.
In node, really happy to see Feathers catching up with other more popular frameworks like Express. First time I reached to feathers was by literally searching "Firebase Alternative".
AVA the Test runner, really never heard of it at all. May be I am too behind in the "Test Runners" category. I only use Mocha.
Also, they should have added a category for graphics libraries like Three.js, Fabric.js, Paper.js etc.
- ng12 10y ago> Vue is definitely lot easier to learn than React How so? Vue actually has a lot to it -- lots of template directives, computed properties, directives, etc.
- SparkyMcUnicorn 10y agoI don't know React but, since I know Vue, I'm confident that I could pick up React fairly quickly. The reason Vue was easier for me to learn is because it feels like regular JS + HTML, and single file components only strengthen that initial confidence when learning the framework. Vue just feels relatively normal and was an easier transition for me into the SPA world. React feels like an entirely new thing, even though they are extremely similar at the core.
- mattnewton 10y agoBut the complexity is layered in my experience. You can get very far by reading the guide and changing the names in the DSL to make your app/dashboard/etc and then ship that same day, without really learning any new concepts. Of course when you have to do something new or make a maintainable app you still have your reading ahead of you, but the 0-1 I got my app to do what it needs is really easy-going (again, in my experience for my limited use cases)
- spion 10y agoThe perceived upfront cost is lower with Vue. You can just put it on the page and voila, you have observables, computed properties, templates, everything. No webpack, no transpiling, no modules, no npm. This is also how angular got popular. The tutorial said: Just add this one JS to the page and start making SPAs! Here is a 10 line example with everything in it explained, and it works! Same with mongodb - their 10 step interactive tutorial website was extremely convincing Not many people know you can get started the same with react by putting react, mobx and mobx-react on the page https://jsfiddle.net/ugh2xhfg/ https://jsfiddle.net/ugh2xhfg/. Thats because its not advertised. You will still need babel / compilation though. JSX is still a major barrier to entry. There is no easier way to make a project become popular than to offer an unrealistic-for-production getting started page that will get you rolling by doing almost nothing!
- sandGorgon 10y agothat jsfiddle comment was awesome! I never even found that when i was looking for mobx examples!
- ng12 10y ago> You can just put it on the page and voila, you have observables, computed properties, templates, everything. No webpack, no transpiling, no modules, no npm. This is a false dichotomy. React is a fully-featured, standalone library and functionally equivalent to Vue if all you include is react.min.js. You don't need webpack or npm, you don't need Redux or MobX. This attitude stems from people learning React from create-react-app (which is geared towards a fully-featured, multi-developer, production-ready application) without doing FB's TodoMVC or even reading the React docs.
- throwaw199ay 10y ago> This is a false dichotomy. No, React beginner tutorial implies learning JSX , then you need to compile JSX into JS. Vue.js does none of that. You just write Javascript and HTML. And yes, Vue.js also supports server-side rendering.
- 10y ago
- Traubenfuchs 10y agoVue is an alternative for those who did not buy a ticket for the npm/node.js circus but have previous HTML/JS experience. With vue.js you can write the good old HTML you are used to and enrich it with vue's magic, just like you could do with the original Angular. Anyone who comes from a jQuery or angular 1 background will be able to immediately pick it up. The only thing you will be missing are single file components. Can you do proper react without studying a node.js Package manager, bundler, compiler, JSX? One example why vue.js is easy and react is hard I just found: Google "vue two way binding input" and "react two way input binding". React's solution reads like a bad joke.
- ng12 10y ago> Can you do proper react without studying a node.js Package manager, bundler, compiler, JSX? Yes. React is just a view rendering library. All those tools are just to make your life easier (including JSX) and don't have any inherent connection to React. > Google "vue two way binding input" and "react two way input binding". React's solution reads like a bad joke." Sure, but that's because "two way binding" isn't really Reactive. I guess it depends on what your past experience is, but as far as API surface area React and Vue seem to have similar complexity.
- Traubenfuchs 10y agoIs React without JSX really something anyone would use though? All the examples are in JSX. Do you have the same first class experience? > isn't really Reactive. The go to response of react users when confronted with "I want to do X, why can't I do X?". It might makes sense for you but it pushes a lot of developers away.
- jononor 10y agoI use React without JSX. With CoffeeScript it the render function is nice an concise, and I can use all the regular goodies of a proper programming language. Granted most of the components/UIs are simple, but it works.
- 10y ago
- amirmansour 10y agoVue is definitely much more approachable. I did not have this experience when using Angular not long ago. To each their own, but I find the Vue API small and simple enough for me to keep it all in my head at once. Reasoning about things has become it a lot easier because of this.
- jaequery 10y agoin short, you write way less lines of code in vue, as opposed to react. its a pretty liberating feeling especially coming from monolithic angular and react code bases. this looks to me like the result of what happens when someone tries to create simple easy to use frameworks as their core philosophy.