Loading WebAssembly modules efficiently | Web | Google Developers
When working with WebAssembly, you often want to download a module, compile it, instantiate it, and then use whatever it exports in JavaScript. This post explains our recommended approach for optimal efficiency.
developers.google.com