Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
blazor WASM looks pretty interesting for exactly this, but especially for dashboard purposes, serverside rendering work just fine, and it saves the overhead of writing an API.
-
Wasm wasn't made with UI in mind so no surprise you won't find it in typical SPA/dashboards
It's for number crunching, emulation, sandboxing, etc
Afaik figma and StackBlitz use it -
So far wasm is still pretty boring. No DOM access and no garbage collector yet. In a few years it might actually make sense
-
I did work on a larger project with wasm, in current state it's good for compute, for anything else using JS was a better choice.
Building decent UI's with wasm is possible today, but I don't recommend it yet, wait a few years for a spec to be finished as currently it lacks a lot of features you'd want when building web apps.
@12bitfloat mentioned two big ones, memory management and DOM access, and I would add network access to the list - for my projects I will switch once they are supported, I don't like JS, but in the current state wasm is inferior option for anything other than compute
Related Rants
Did anyone here work with WebAssembly? .-. Like for real-life scenarios and not just a hobby
I thought it'd be a bigger deal by now specially for SPAs and corporate web-based dashboards
but i havent seen much of it irl
question
web assembly