I've been using this tutorial to learn Rust+WASM:
The tutorial uses Webpack to run and bundle code, but Webpack's commitment to backwards compatibility leaves a lot to be desired. Breaking changes seem very common in the Webpack API, not just from version 4 (the version used in the tutorial) to version 5, but also within major versions themselves. Although in many cases one could just use an older version of the API, the problem with this is that in some cases these API-breaking changes come with important security updates; so, often, Webpack users have to either spend valuable time re-reading its documentation to see what's new, or accept major security flaws in their applications.
(I know the problem above is common on the web, but Webpack seems to be an especially bad offender, compared to other bundlers. Also, Webpack's documentation is often grammatically incorrect, sometimes to the point of being hard to understand. In past efforts to improve the documentation, I have proposed grammar and style changes, yet have had my edits rejected by some non-native English speakers in charge who insisted that their writings were grammatically correct, even when I showed them grammar guides saying otherwise. But, I digress.)
I would seriously appreciate any links to good tutorials on how to use Rust+WASM with bundlers other than Webpack. Or, if no such thing exists, maybe someone should make one. I think it would be good for the future of web development with Rust if an expert revised the main Rust+WASM tutorial so that it is independent of Webpack (or any bundler in particular).