r/javascript • • Jul 28 '19

ScriptUI: Write React without JSX

https://github.com/anater/ScriptUI
1 Upvotes

22 comments sorted by

View all comments

Show parent comments

3

u/Renive Jul 29 '19

Terminal is used to build and run everything, I dont see your point.

1

u/[deleted] Jul 29 '19

Exactly. You need to build and run your app just to see what you’ve built. This step comes with it a lot of knowledge beyond browser technologies. This makes web development more intimidating to learn for beginners in my experience.

1

u/Renive Jul 29 '19

No its typing webpack into terminal. Bundlers nowadays have zero config mode, it just cant be easier now. If someone is that basic, it shouldnt touch React and focus on fundamentals first.

1

u/[deleted] Jul 29 '19

Whatever man. You’ve missed the point that all of that is extra stuff that isn’t actually required to build a website. Or, if you truly believe it is, then you prefer an overcomplicated work environment.

iOS developers, for comparison, need to know one tool to start building: Xcode. I’d love to see similar simplicity for web development environments.

node, npm, webpack, and Babel only truly are required for a narrow set of projects. We just use them because it’s “easy” now that we’ve done it over and over. But that’s 4 technologies you have to understand when they fail you: whether by bugs or by limitation. I’m not saying what I built fixes all that. I’m saying it’s my motivation to build something with vanilla JS. It’s dishonest to act like all of that is so easy. Ask your youngest family member how easy it is...

2

u/Renive Jul 29 '19

Xcode is far more complicated than 4 of those combined. You talk about npm like its something more than npm install in command line. Same with node, you dont even interact with it, just need to have it installed. All you need is webpack which is medium sized script, compared to multi gigabyte IDE.

2

u/[deleted] Jul 30 '19

so, I just wanted to say sorry that everyone in /r/javascript is dismissing/attacking you. it sucks to have people be callous about your creation.

however, one thing I wanted to say over in /r/reactjs and didn't, was that I wholly disagree with the anti-tooling motivation. static analysis, type checking, linting, minification/uglification are all amazing things to have. sure, I can build a website without them, but I would never do that because the benefits outweigh the cost of learning them.

1

u/[deleted] Jul 30 '19 edited Jul 30 '19

Haha thanks 😅. I do agree with you. These tools are useful. Itd be absurd to propose they aren’t. They impede my process so Im trying something different to help myself. I thought sharing it might be useful for others. I need to work on the presentation. The headline really triggers people here.