News for hackers. Stuff that matters.
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?
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.
Re:What Is Server-Driven UI? by mabbo on Wednesday September 01, 2021 @03:33PM (#28384566)
That sounds like a web browser with extra steps.
Re:What Is Server-Driven UI? by tomc1985 on Wednesday September 01, 2021 @03:02PM (#28384206)
The "webview" it renders to is native UI this time?

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

Re:What Is Server-Driven UI? by rzzzt on Wednesday September 01, 2021 @03:41PM (#28384651)
Re:What Is Server-Driven UI? by ruckstar on Wednesday September 01, 2021 @02:29PM (#28383799)
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.