DEV Community

Discussion on: Why the React community is missing the point about Web Components

Collapse
 
progrium profile image
Jeff Lindsay • Edited

If I build a component framework in another language via WASM, I can't see a way to make those components play well in a Web Component ecosystem. That was the extent of the meaning behind my WASM statement.

Thread Thread
 
oenonono profile image
Junk

How do you make a UI accessible that doesn't ultimately render HTML semantics? If you can't build an accessible UI, why would you implement the UI with WASM?

Thread Thread
 
dan_abramov profile image
Dan Abramov

Note that iOS, Android, and other UI platforms are accessible without using HTML. While I'm not pushing for leaving the DOM, there is nothing in particular that ties accessibility to it — it's a matter of which low-level APIs are exposed and available.

Thread Thread
 
progrium profile image
Jeff Lindsay

because javascript tooling is That Bad? but in seriousness i don't really understand. 1) it would still render HTML, 2) most app UIs are not HTML.

Thread Thread
 
oenonono profile image
Junk

Weren't we talking about web UIs specifically? Are you using WASM to build native Android or iOS apps? What is going on in this conversation?

Thread Thread
 
progrium profile image
Jeff Lindsay

who cares any more