Ian Clarke
Ian Clarke
There is some evidence that websockets may not be reliable in some circumstances. @gtod did some research on the subject, which I've pasted below. There are steps that can be...
Graal's [native-image](https://www.graalvm.org/docs/reference-manual/native-image/) has the ability to produce binaries from JVM jars *without* the overhead of having to include a JVM. This could be interesting, for example, for building extremely lightweight...
It would be nice if the example code in [README.md](https://github.com/kwebio/kweb-core/blob/master/README.md) could show off more of Kweb's abilities, while still remaining both short and readable. Open to suggestions here.
The new [StateFlow](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-state-flow/index.html) API seems to have a number of things in common with Kweb's [KVar](https://github.com/kwebio/kweb-core/blob/master/src/main/kotlin/kweb/state/KVar.kt).
Create an extension function for rendering `Collection`s within `KVar`s: ```kotlin val c : KVar = KVar(listOf(1, 2, 3)) // inside Kweb {} renderEach(c) { v : KVar -> h1().text(v.map {...
This should have been caught by integration test: #130
There is now as separate respository for Kweb demos, and @ethanmdavidson has kindly moved the ToDo app [here](https://github.com/kwebio/kweb-demos/tree/master/todoList). There is still a [copy](https://github.com/kwebio/kweb-core/tree/master/src/main/kotlin/kweb/demos/todo) of the ToDo app in kweb-core because...
Rather than constructing Kweb's HTML DSL manually, we could ensure full API support by generating code directly from the HTML spec, perhaps using a tool like [KotlinPoet](https://github.com/square/kotlinpoet).
[APIDiff](https://github.com/aserg-ufmg/apidiff) can apparently detect breaking API changes in Java (and, I hope, Kotlin) libraries. While it may be premature right now, at some point it would be nice to integrate...