2 ms·
Agree that WASM cannot yet directly manipulate the DOM. But are build times in JS/TS framework world any slower than Rust compile times? I'm not convinced on th
by palmfacehn 2y ago
Agree that WASM cannot yet directly manipulate the DOM. But are build times in JS/TS framework world any slower than Rust compile times? I'm not convinced on this point.
As a disclaimer, I still prefer vanilla JS and progressive enhancement.
- incrudible 2y agoTS is very fast with esbuild and the likes, it's basically just stripping off the type annotations. Your setup may vary, of course. The other point isn't so much that there's a wrapper around the DOM, but that the DOM API itself is bad and slow. There's only so much pain a better language can take away here, and Rust isn't even a better language for that domain.