Rust to WebAssembly to JavaScript
A practical overview of how to compile Rust to WebAssembly and how to integrate that WebAssembly into a variety of JavaScript contexts. In particular, this covers areas that are poorly served by existing tutorials: building WebAssembly packages that can be used in both node and the browser, configuration necessary for different JavaScript environments (e.g. webpack 4, webpack 5, and create-react-app), bundling WebAssembly into a node project, and managing private WebAssembly dependencies in a monorepo.