Anders Sveen
11/13/2024, 4:28 PMTim Schraepen
11/16/2024, 4:34 PMTim Schraepen
11/16/2024, 4:35 PMfun partialHtml(block: BODY.() -> Unit): String = buildString {
appendHTML().filter { if (it.tagName in listOf("html", "body")) SKIP else PASS }.html {
body {
block(this)
}
}
}
rcd27
11/26/2024, 9:36 PMCompose Runtime
can be mixed to SSE
as a View layer in order to rerender whole virtual DOM we have?
This idea is inspired by Mosaic library, which uses Compose Runtime
for building reactive UI in CLI apps.
Also would add that Compose Runtime
was inspired by React
ideas of virtual DOM.Anders Sveen
11/28/2024, 3:01 PM