What to base webcomponents on - web-dom, wasm-bindgen, something else?

Still relatively new to Rust, I’d like to write a few small webcomponents for a project I’m working on. My goal is to replace Javascript as much as possible. Never liked it.

There appear to be two main wasm approaches right now, stdweb ad wasm-bindgen. For stdweb there is a dedicated crate for webcomponents called web-dom.

What should I be using going forward? I’ve got both approaches running for simple tests and read a few blog posts about the differences but I still don’t feel I fully understand it all.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.