How Uno works on WebAssembly
This article explores WebAssembly-specific details of Uno's internals, with a focus on information that's useful for contributors to Uno. For an overview of how Uno works on all platforms, see this article.
What is WebAssembly actually?
WebAssembly (Wasm) allows .NET code, and hence Uno, to run in the browser. It's supported by all major browsers, including mobile browser versions.
UIElements map to DOM elements
There is for the most part a 1:1 mapping between managed XAML elements and DOM elements. The element tag associated with a XAML type is set by a
UIElement constructor overload which takes the tag as a string, with "div" as the default.
WindowManagerInterop .NET class, which calls methods on the
WindowManager TypeScript class using the