Ask HN: Must-have features for a compile-to-WASM native/web UI language?
In your opinion, what would be some of the must have features for a compile-to-wasm language focused mainly on UI development?
I'd want a developer experience similar to MUI (not necessarily the styling, but the drop-in functionality and extensibility).
But then again I'm probably not your target audience either. As a frontend web dev I don't view my UI language as a significant barrier. React is fine. Other frameworks are fine. And things are reasonably performant these days. It's not declaring the UI that's hard, it's translating business requirements into synchronized client and server state. I'd rather have something that's easier to use than rtk-query than some UI wrapper written in WASM just cuz it's shiny.
Multithreading (async / await?)
Static types
Generics (nullable)
Controls / Widgets / Components which probably means classes and OOP (see flutter and web components)
Makros
Message Senders / Receivers instead of raw properties (smalltalk, Objective-C)
Package manager
Good toolingIt does seem like the big three (React, Vue, etc) emphasize declarative as best practice