DEV Community

To React or Not?

James on April 24, 2019

We're building a SaaS platform at work and have a choice of JS framework to make. In my last two roles leading dev teams we had similar choices to...
Collapse
 
rhymes profile image
rhymes • Edited

Hi James, love your post and the questions you posed to yourself.

Let me start by saying that I don't think there's a "good" or a "bad" answer regarding the choice of React/Angular/Vue. Choosing one over the other won't make you a bad person. But I think that we're asked to do as human beings is at least think about some of the issues you raised here.

Regarding art created by people that are then discovered to be bad this, among other things, helped me frame the issue: What Do We Do with the Art of Monstrous Men?.

Going back to programming and the "React or not question", let me reiterate the fact there's no easy nor right/wrong answer, just what you and your colleagues feel it's okay and comfortable for you, because it's quite obvious that the company won't care if you James use or don't use React (they won't care about me either, they might care if "me/you" is multiplied by tens of thousands but that's an entirely different argument).

Let me add some food for thought: let's say you choose Vue, which clearly is the most "independent" one among the three you quoted, what happens if you find out that a despicable programmer or a programmer that works at company you strongly dislike has contributed a feature to the framework?

Clearly, it's not an easy choice the one based on ethics because it's not infallible and because as humans we're born with the ability of navigating grey areas and be fine with that. Otherwise we'd have never ending migraines because well, the world is full of these conundrums, every second of every day.

So, if choosing X over React makes you comfortable, you already have your answer.

technology doesn't exist in a vacuum, it is increasingly interwoven in our lives and if we are concerned with improving user's lives through better technology, shouldn't we who are in a position of choice make an ethical one?

I really do agree, I raised the issue in my post Unethical programming. The problem is that there's no clear answer every time, it would be too easy :D. In the series Goodbye Big Five (that I urge you to read), the journalist Kashmir Hill, tried to block each of the biggest tech companies for a week at the time and well, it was painful, the hardest being Amazon because through AWS they they provide uptime for a lot of services (Signal included for example).

What should you ultimately do? I have an opinion which is mostly based on my preferences of library/framework but I think you should come to your own decision on your own terms. I think your gut already has the answer you seek though, otherwise we wouldn't be here discussing :D

Collapse
 
jdheywood profile image
James

Thanks for your considered reply, and the links, really interesting reading :-)

Collapse
 
skatkov profile image
Stanislav(Stas) Katkov • Edited

I don't think that ethical behavior of facebook affects my decision not to use react. I'm more opposed against hyper-marketed open-source projects, In a lot of cases there over better projects out there (khe-khe vue).

but somehow everyone defaults to "bigco is using this, let's us it too" option. And that sucks

Collapse
 
thiagodebastos profile image
Thiago de Bastos

Don't forget that big frameworks also mean lots more documentation and easier to get answers for issues. 'Big' also means reliable, tested. People think "if [big company] trusts [framework X] its good enough for me".

Its a tough choice!

Collapse
 
jdheywood profile image
James

Peer pressure is high, especially in the JS framework world!

Appreciate your honesty, thanks for reading

Collapse
 
jleblanc profile image
Josh LeBlanc • Edited

React is made by developers who happen to work at facebook. The same can be said for every piece of software that comes out of a big company.

The company had a problem to solve, they solved it, and management gave the developers the go-ahead to make it open source.

I have absolutely zero problem seperating these from the company they originated from.

Regarding which one to actually pick, I think it's largely inconsequential. Just pick something and be consistent. That's really the hardest part :D

Collapse
 
jdheywood profile image
James

Fair point, and thanks for posting, I'm less worried about the actual choice of framework than I am about the way we choose.

Agree that consistency is key though - once you pick you have to stay the course or pay the rewrite cost!

Collapse
 
thiagodebastos profile image
Thiago de Bastos

Good point! Where does one stop? What about a single individual who is otherwise great but has one view you are disgusted by? I wonder if this is even a question that can be answered!

Collapse
 
tobiassn profile image
Tobias SN

I think you should use whatever framework fits your needs regardless of what people have said about the creator or their other stuff. I mean, even though Apple Maps is inaccurate, I still use an iPhone. Besides, Facebook doesn’t care if you use React or not, they just released it as open source because why not? And it might’ve also scored them some brownie points.

So my point is that even if everyone stopped using React, Facebook will still continue to develop it, because they use it for their own site.

Collapse
 
jdheywood profile image
James

Thanks for your comment :-)

Collapse
 
xngwng profile image
Xing Wang

Interesting take on choosing technology based on its creator's morals.

I think many art, music, scientific or technology we use and depend on everyday are often made by people, whose morals or opinions may not be what you would agree to (especially viewed from modern lens.). Examples, many famous scientists support eugentics, most founding father of USA are slave owners.

But I think the scienctific or technology discoveries still stands on their own merit. Because if that particular person didn't create/discover them, someone else will/would have.

Collapse
 
jdheywood profile image
James

Hi, fair point and poses a valid question, if the creator of a thing is long gone does that affect a moral decision to appreciate or use a thing?

Ethics seems like a very difficult area of discussion, but one I would welcome as I feel I need to educate myself.

I appreciate it is also somewhat of a luxury and that some people do not have time or resources to consider this. Sometimes you just need to build something and pick the best tools without considering the producer of those tools.