We went down this road at one point. There are a number of issues surrounding accessibility with this. Plus performance isn't great. There were a bunch of other issues too that I don't remember off the top of my head.
We were going to make a webassembly UI framework that worked across devices natively as well as the web.
We were going to make a webassembly UI framework that worked across devices natively as well as the web.