Re:What Is Server-Driven UI?
by develatio on Wednesday September 01, 2021 @02:23PM
(#28383722)
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?
[ Parent
| on HN ]
Re:What Is Server-Driven UI?
by noahtallen on Wednesday September 01, 2021 @02:31PM
(#28383820)
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...)
OpenLaszlo's LZX also comes close: https://www.xml.com/pub/a/2006/10/11/introducing-open-laszlo...
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.