Web-sys, wasm-bindgen equiv of "stdweb / js! macro "?

Does wasm-bindgen / web-sys ( GitHub - rustwasm/wasm-bindgen: Facilitating high-level interactions between Wasm modules and JavaScript ) have a replacement for stdweb's js! macro ?

I need to use some js bindings that are available on web-sys but not on stdweb.

web-sys types and stdweb types seem incompatible (not surprising) and web-sys types also seem to not work with stdweb's js! macro

Question: does web-sys / wasm-bindgen have something similar to stdweb's js! macro?

There's inline snippets.

I agree it would be nice to reunify the ecosystem at some point, if possible.

1 Like

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