Post AT0ztt54NBo4UDo6Ua by Robworks@phpc.social
 (DIR) More posts by Robworks@phpc.social
 (DIR) Post #ASwZceE8yEbG3UKZ8a by jaredwhite@indieweb.social
       2023-02-22T16:50:20Z
       
       0 likes, 1 repeats
       
       All right folks, it's time. #React et al. are once again in #WebDev crosshairs with big essays flying back and forth touting the pros or the cons of this whole approach.Well here's my entry for @vanilla, and it's a doozy! šŸ˜…ā€œThe Great Gaslighting of the JavaScript Eraā€> The age of frontend JavaScript frameworks eating the web world didn’t happen simply because some well-meaning developers found great DX. It happened because we were fed a line.https://www.spicyweb.dev/the-great-gaslighting-of-the-js-age/
       
 (DIR) Post #AT0ztrSkOBYfT4rz7Y by Robworks@phpc.social
       2023-02-23T03:14:48Z
       
       0 likes, 0 repeats
       
       @jaredwhite @vanilla I’m on the fence with this particular debate. I love a good slaying of sacred cows. I also deeply distrust the ā€˜thought leader’ blogosphere culture that surrounds our industry. I have also seen the damage this culture does to junior developers. So I’m on board with the general vibe of the article. My question to you is: For websites that really do need alot of JavaScript for actually valid reasons, what does your preferred alternative look like?(continued)
       
 (DIR) Post #AT0ztsAhkkihfPR5dY by jaredwhite@indieweb.social
       2023-02-23T03:54:27Z
       
       0 likes, 1 repeats
       
       @Robworks @vanilla For sure, some apps really need a lot of frontend JavaScript. I don't begrudge any team for building what they actually need for their product. There are plenty of interesting options out there. Adobe Photoshop for the web uses Lit-based web components. I hear a lot of good things about Solid as well. Heck, even Vue 3 has a lot of interesting aspects to it.
       
 (DIR) Post #AT0ztt54NBo4UDo6Ua by Robworks@phpc.social
       2023-02-23T03:20:10Z
       
       0 likes, 0 repeats
       
       @jaredwhite @vanilla (part 2)An example:Let’s say the use case here involves something with a persistent connection, like WebRTC. In this scenario, we actually do want that kind of persistent connection to a single page, and the JavaScript helps support the feeling of a web page becoming a web app. If we need a lot of the front end functionality, what would you reach for instead? jQuery? Or truly roll-your-own logic?(continued 1 more time)
       
 (DIR) Post #AT0ztuiSIEuDYfF4WO by Robworks@phpc.social
       2023-02-23T03:22:45Z
       
       0 likes, 0 repeats
       
       @jaredwhite @vanilla (part 3, final)Honestly trying to avoid any vibe of snark in what I’m writing, but it does beg the question. At what point does the bespoke solution you arrive at become it’s own defacto frontend framework?Again, this would only be for use cases where the frontend need is unavoidable. I agree JavaScript in general is overused in too many situations.