Live data from Hacker News

GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

zendev.com

131–140 of 140 posts

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#131
That's alright to me, I use vue in my own projects and react at work and while I greatly prefer one, I don't hate the other (anymore).

An aside note is that I wish there were fewer developers in this type of threads pretending that the abomination that is JSX makes react better than vue... which can use JSX just fine.

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#132

Earlier quoted context omitted.

Also, in enterprise consultant built apps we often have to consider what kind of talent we're going to be able to get for that project. It's much easier to get Angular and React developers than Vue developers at the moment. That could certainly change in a year of course.

It boggles my mind that companies don’t expect frontend devs to be able to transfer knowledge between frameworks. Do they just not have that skill or do companies really not believe those devs are capable of that? Or both?

We know that good devs can pickup new frameworks quickly and easily. But, when we're charging our customers top dollar they want devs who are experts day 1, and (unfortunately) we can only charge top dollar if we bring those people. But, that's just our business model... I know some other consulting companies that charge lower rates and hire people with less experience.

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#133

Earlier quoted context omitted.

In Vue and Angular you only need to figure out how to mix Javascript-like expressions with HTML-like templating language: {{ item.message }}

Pretty slick. It isn't fundamentally different from *ngFor in Angular (with let to declare the variable), but the details make it much more pleasant.

Not slicker than JSX, definitely. It’s not HTML, it’s not Javascript.

As code goes in complexity Vue quickly becomes ... let’s call it weird: https://mobile.twitter.com/dmitriid/status/98777166684669952...

Javascript-like scripting in strings? Check. Different versions of HTML-like attributes? Check. Magic binding of all that to specific structures in JS code? Check.

But please, do tell me how it’s beter than React where you “have to figure out how to mix JavaScript expressions with JSX expressions (sometimes it gets ugly).”

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#134
post #57

Earlier quoted context omitted.

> React (really JSX) solves the single problem of making HTML a part of JavaScript The reason I like the way Vue works is because it makes javascript part of the HTML definition (with component definitions), essentially the opposite of what you like about React. That said, my use case of Vue is very different to my use case for React. Even though Vue does essentially solve the same problem set, their approaches have…

Could you elaborate on the different use cases for each? I don't know enough about vue to spot them myself

My use case where Vue fits better is in lots of isolated reusable components that aren't tied to a global state. So an image slider or datepicker for example.

But I would consider React and Vue for building a larger scale, stateful application like Spotify or Slack.

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#135

After building two large applications using React, Redux, Redux Sagas, and Typescript, I feel burnt out. I'm honestly surprised Elm or ReasonML aren't more popular as they seem to provide all those aforementioned libraries in one go.

The problem with elm and reasonML is that they are entirely different languages. Untill they are validated by big companies like Google, FaceBook or Microsoft, they won't become mainstream.

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#136
post #94

Earlier quoted context omitted.

Sorry, I appreciate your enthusiasm, but I just can't imagine how shoehorning a language into XML could ever be a good idea.

thats how i felt too, and i'm now a big fan of vue. its funny how that works.

Ok. I wish you could say a little more about why, though.

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#137

Earlier quoted context omitted.

> Discussing which tools work best is an important question in software development. I completely agree, but would you write an article titled "Spoons still blowing away Forks in digging holes"?

Maybe...if Forks were more popular on Github?

Is this a crossover episode?

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#138
post #110

No one I work with has ever even brought up the possibility of switching from React to Vue, let alone counting Github stars. Compare to when React came out, it was immediate consensus that we need to switch from Backbone to React. When Angular gained popularity, we did not have an urge to switch because it felt unclear what the scope and direction of Angular actually was. React (really JSX) solves the single problem…

> With React there's no weird "v-if ng-if" template logic that you have to grapple with. To me, Handlebars already gave me enough taste of how horrible and limiting maintaining template logic outside of components is. React was a good step in the right direction. But IMO they lost the plot with things like: - shouldComponentUpdate(nextProps, nextState) - componentDidUpdate(prevProps, prevState, snapshot) and the whol…

How is that relevant in any way? If you're using those two you're already doing something wrong.

State is local props, props are from parent. How can that concept be "complex" to someone is beyond me.

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#139

Earlier quoted context omitted.

Just to note you can use render functions and write jsx in Vue :) https://vuejs.org/v2/guide/render-function.html

But every time I ask about that, I get crickets. So who here is using JSX in Vue?

That would be like buying a hammer and trying to fashion it into a screwdriver. Why not just use the screwdriver and be done with it?

Re: GitHub Stars !== Usage: React Is Still Blowing Vue and Angular Away

#140
I think using number of downloaded will also count number of build on each commit. Imagine if you have three branch in your repository, each push will rebuild the project (redownload dependencies). If you push three times a day it will download three dependencies three times.

Also, some project include their dependencies to VCS which only count once per build.

Post reply on HN