You can’t use web assembly without JavaScript to initialize it.
Comment on The sheer amount of websites that are completely unusable without JavaScript
ImgurRefugee114@reddthat.com 1 day agoWASM and cry because you can’t directly modify the DOM without JS.
possiblylinux127@lemmy.zip 1 day ago
unwarlikeExtortion@lemmy.ml 1 day ago
You can’t modify the DOM.
But ~some~ most dynamicity can stay - sites can be built freely server-side, and even some “dynamic” functionality like menus can be made using css pseudoclasses.
Sure, you won’t have a Google Docs or Gmail webapp, but 90% of stuff doesn’t actually need one.
A basic website doesn’t require js.
A webshop, for example, does for the part around adding to cart and checkout - but it doesn’t for merely browsing.
dual_sport_dork@lemmy.world 1 day ago
For a web store you probably only need Javascript for payment processing. Insofar as I’ve seen pretty much all of the widgets provided by the card processors outright require Javascript (and most of them are also exceedingly janky, regardless of what they look like on the outside to the user).
You definitely don’t need Javascript just for a shopping cart, though. That can all be done server side.