Hacker News new | ask | show | jobs
by deeptote 1464 days ago
Yeah I agree. There's no reason why a front end using TypeScript + React can't use WASM for it's backend connections, but building the entire thing in rust with Yew just seems like a hammer in search of a nail. GopherJS exists but nobody uses it for a reason.
1 comments

Rust wasm frameworks are red herrings. Wasm-bindgen is the real deal here when used in an immediate-ish way, ie render your page and leave handlers hooked up only for what you need and clear whatever div affected before updating them.