r/javascript • • Dec 04 '20

No One Ever Got Fired for Choosing React

https://jake.nyc/words/no-one-ever-got-fired-for-choosing-react/
322 Upvotes

242 comments sorted by

View all comments

Show parent comments

2

u/relativityboy Dec 05 '20

Once again, there is no cli for react.

"Once again?" You didn't state there was no cli for react in your previous comment.

And to bring it back on track again I'll quote myself regarding VUE.

The cli was broken. That's a real problem.

If one is going to release a cli to scaffold a project it needs to work, consistently and reliably. If there's an error it needs to report clearly and succinctly what the problem is. The VUE scaffolding cli failed to do either.

As for the rest, you seem like a nice human. I wish you luck.

EOL

1

u/start_select Dec 06 '20 edited Dec 06 '20

But there is no react cli, there are a bunch of open source solutions like CRA that Facebook doesn’t control.

The very first thing their tutorial says is “you might not need a tool chain” before suggesting if you don’t know how to package js or ts, someone else’s solution might work for you.

It is not react or facebooks fault that a 3rd party library didn’t work for you, you didn’t need it anyway.

Tsc will compile jsx just fine.

npm install typescript setup a ts.config Make an index.tsx

Run “tsc”

Or setup webpack, or parcel, or roll up, or nx, or any of the many tools capable of building react apps.

1

u/relativityboy Dec 06 '20

You're hounding on react when this discussion got started around the offical vue cli and its failure for me on node 14.

Maybe it's time to put that frothy energy into an open source project or something instead of arguing irrelevant points?

2

u/start_select Dec 06 '20

Sorry, I didn’t realize I misread your first post. I thought you meant you tried a vanilla react project and couldn’t get it running using “their cli”.

To which I was confused because there isn’t one. That and I and most senior level developers don’t usually react well to being called padawan.

I used to contribute to open source projects when I was younger. I don’t really have the capacity anymore. If I’m building framework and library code it’s for my clients/employers and for cash.

I might do it again in the future, but I get to build interesting stuff all day and get paid for it. I don’t really need to do extra exploratory or academic development than that.