Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

No, base HTML/CSS/JS are currently brilliant - however when you are building complex interfaces, web editors, React/Angular allow you to do it much easier


Yes so you have libraries to help.

But what I don't really understand is why do you have to have all the "build tools" that translates one language into another and a lot of all the other stuff. I have no idea what they really do, but it seems so strange that it would be a large process for a scripting language that runs directly in the browser.

Wouldn't be easier to specify the UI directly in javascript using this library like with C++/qt? C++/qt also has something similar to html for declaring UI/UI actions called QML but I never managed to see the improvement over just writing code.


Sure you can use plain JS, but then you don’t get async/await, destructuring, module system, type checking, JSX, and countless other modern affordances that make writing JS more palatable. If you can stomach OldJS, then yeah, none of this has much use for you.


Well, last time I checked, you could use a lot of these out of the box, as long as you didn't mind dropping support for old Internet Explorer versions?


A lot of these, but not all (JSX for example). And then you have to worry about support - caniuse is great help, but it gets very tiring.

But to me the main benefit is something else. React & co. let you define the state and then rendering based on that. It is incredible what this means for code maintainability... Try it, it really is worth the effort.


I've since decided to boycott JavaScript as a developer, and to block it everywhere I could as a user. (And rendering should be decided by the user's browser.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: