r/reactjs • u/kmball11 • Jun 19 '18
Github Stars !== Usage: React is still blowing Vue and Angular Away
https://zendev.com/2018/06/19/react-usage-beating-vue-angular.html18
u/BenjiSponge Jun 19 '18 edited Jun 19 '18
I wonder if there's a way to extract the usefulness of stars while avoiding the popularity contest.
Stars are kind of silly anyways. They're both "bookmarks" (in that they show up in your list of "starred" repos) and appreciation, which is kind of strange to me.
Historically, I've always used them as bookmarks and a way to express what I'm interested in to GitHub (which seems to be their primary intended use, though both are listed) and never as appreciation, though I've changed recently. So there was actually a time where I had Vue starred and React unstarred, despite never using Vue and working with React both as a hobbyist and as a professional for years, for the same reason that I have Godbolt compiler explorer bookmarked and Reddit is not (because I'm never going to forget the name of Reddit or what it is).
I actually think better than stars would be two different anonymous systems: A bookmark system, and a "tip" system, which could include $0 tips (and also make it easier to financially support projects you love with just a mouse-click, something I've wanted for a long time).
It's actually kind of curious to me that people haven't been botting GitHub stars a la Facebook likes or Instagram followers.
6
u/vexii Jun 19 '18
It's actually kind of curious to me that people haven't been botting GitHub stars a la Facebook likes or Instagram followers.
i remember reading about a guy that botted 3k stars on a hobby project and had better luck getting an intership becouse of it
11
u/Console-DOT-N00b Jun 19 '18
I don't think I've "used" 98% of what I star.
It's a snakes on a plane type thing. "Neat"....wanders off
2
u/truh Jun 20 '18
Yeah, I usually use stars as bookmarks, when I might want to check out a repo on a later day.
5
u/friendshrimp Jun 19 '18
Really fun seeing this back and forth on Vue and react
1
u/nschubach Jun 20 '18
The biggest thing I don't like about vue is the damn template logic (v-for, v-if...). I know you don't have to use it but it was one of the pain points with AngularJS as well and since it's in the official docs, someone is going to use it and someone else is going to have to support it.
1
Oct 14 '18
I love these things about Vue. What's the problem with them?
1
u/nschubach Oct 15 '18
It's another domain and specialization. With JSX (React, etc.) you just use plain JavaScript. With these template logic constructs, you have another layer of complication there. What scope is being used? What loop am I in? It's more overhead that you have to learn and troubleshoot.
8
u/AdvancedPizza Jun 19 '18
They are all tools. Who cares??
0
Jun 20 '18
[deleted]
2
u/AdvancedPizza Jun 20 '18
Sure. It's just the contentious headline that particularly bugs me.
Healthy competition is a great innovation driver, but shitposts like this that folks put energy into just baffles the mind, when they could be out building shit. Who has time to write flame articles about X > Y framework.
Get out there and build and contribute!
2
u/robberviet Jun 20 '18 edited Jun 20 '18
LOL isn't that just a gag? Someone with proper knowledge will know what is really widely used and what is not.
To me Github star is just like bookmark: Something sounds cool, I will mark it for later use.
May be a "nested-star" (sum of stars of projects who has React/Vue as dependencies) might give more insight.
2
u/kitsunekyo Jun 19 '18
npm downloads also have no meaning. evan of vue once showed stats from their devtools, which gives a more"real" view on how many devs are actively developing with vue.
just because a package has a lot of downloads doesnt mean its actively used by a lot of people or in a lot of projects that be used in production
what i see with react is that novice web devs hear about react, try it for a tutorial and then never touch it again because its unnecessarily complicated for the simplest things.
class binding, two way data binding, conditionals, reactivity, separation of code are all things that are very important for smaller projects but annoying to do with react, in my opinion.
react can do more as you have to manually handle a lot of stuff. so it has a different use case. vue shines with simplicity, clean code and onboarding time. but since react has a headstart, the ecosystem is bigger and is more mature. but also has a lot of issues vue has long learned from. i'm not talking about angular because angular is so scattered and broken that nobody except for enterprises that already bet on it want to use it.
1
u/BenjiSponge Jun 19 '18
npm downloads also have no meaning. evan of vue once showed stats from their devtools, which gives a more"real" view on how many devs are actively developing with vue.
I agree, though more downloads often implies more usages within a CI environment which often means more people are actively developing with it in a professional context, which may be more meaningful depending on your use-case.
All of them are stupid reasons to pick one or the other. If you're picking within the top 3, relative popularity doesn't matter.
1
u/kitsunekyo Jun 20 '18
i find i specifically stupid to make github stars, downloads or anything an main argument why you should choose one framework over the other.
popularity only means if you have a good ecosystem. your choice should be made solely by checking what each individual framework provides.
1
1
1
u/BenZed Jun 19 '18
This is minor and pedantic, but I would say this would be proper usage of the equivalent equality operator, instead of the identical equality operator:
framework.stars != framework.usage
Of course they're not identical.
3
u/BenjiSponge Jun 19 '18
I don't think it really matters. In any reasonable world,
starsis a number, thoughusageis unclear.The real statement isn't whether they're
==or===, it's whether they can be coerced or converted without losing information, and the statement is that they cannot be.ideas.evaluate('using pseudo-code to describe things that should be described in human language').quality === IdeaQuality.POOR;1
-5
-1
94
u/evilpingwin Jun 19 '18
I don't think it did, not by anyone you would take seriously. I mean, Evan literally replied to Dan's tweet saying he hoped people wouldn't take it too seriously and stated that React was used more widely (It might not have been an actual 'reply').
Dan was really just congratulating the Vue folk for building a cool tool and a great community. The framework/ library tribalism is annoying and isn't conducive to improving the ecosystem.
I just wish we could focus on building cool stuff without any of the bullshit. I'm happy to know that the smart people building these great tools don't consider it to be a competition and are really supportive of one another.