Hacker News new | ask | show | jobs
by develatio 1758 days ago
If I read the docs correctly, you're literally supposed to send a description of what the UI should look like (which is the same as HTML + CSS: declarative code). How is this any different from just sending HTML + CSS?
3 comments

If the app transforms the server-provided “UI” into native UI elements, that would be significantly different from just rendering HTML in a webview.
That sounds like a web browser with extra steps.
The "webview" it renders to is native UI this time?

Kind of reminds me of Mozilla XUL (rest in peace...)

It's similar but in a format that is more conducive to rendering in the native frameworks on iOS and Android: SwiftUI and Jetpack Compose. HTML and CSS doesn't map very well to these native frameworks.