3 ms·
Because it's hard to hire web devs that don't use React. If you want something simpler than React, then it's better to just hire a generalist programmer who has
by umvi 2y ago
Because it's hard to hire web devs that don't use React. If you want something simpler than React, then it's better to just hire a generalist programmer who hasn't drunk the JS ecosystem kool aid and will use vanilla.
It's the same reason companies with tiny apps in the cloud default to kubernetes even though it could have been done with something simpler like AWS lambda.
- dottjt 2y agoYou say it with cynicism, but ultimately React jobs pay better vs jobs which require only common HTML/CSS skills. Why wouldn't programmers want to pursue better paying/more readily available jobs?
- dmix 2y agoThere’s plenty of real world usecases that demand high interactivity async views. They should be a small subset of the page but there will always be demand for that sort of real time UX that pure static apps can’t provide. Pretending otherwise at a large company like NYTIMES that has multiple properties with hundreds of millions of visitors is unserious. They aren't running a simple blog or just a newspaper. I believe React/Vue will ultimately be replaced by recent modern developments using websockets to trigger the delivery of server side static async views. This is how Github/Shopify now does it, ala Elixir's LiveView, and Rails itself also has ActionCable+Turbo/Hotwire. It is far superior as it keeps logic in one place in the backend and in one language. But that is far from mainstream yet like React is and there will always be legacy features that need to be supported. But hopefully it will become the standard and JS will limited to necessity. For ex: some components on pages like charts/graphs, multi select boxes with autocomplete, etc will still require JS that websocket/ajax triggered views can't replace. But those are easier to package into standard libraries. Whether reactive vDOM will still be needed for that idk.
- ebiester 2y agoA generalist programmer will not have the chops to build interactive visualizations such as what the New York Times develops. Consider that backbone.js was developed by Jeremy Ashkenas to solve problems the NYT had with its layout. Perhaps the problems they have are more complex than what you suspect?
- umvi 2y agohttps://ciechanow.ski https://ciechanow.ski seems to be doing pretty well without complicated JS frameworks and his interactive articles I would consider top tier on the internet. As far as I can tell, he's a generalist and is using vanilla JS for all of his articles.
- hombre_fatal 2y agoSomeone who never used JS before isn’t writing amazing vanilla JS code for nontrivial apps. They are writing some of the worst spaghetti in the world.
- umvi 2y agoPresumably a generalist is not unfamiliar with web development.