kweb-core icon indicating copy to clipboard operation
kweb-core copied to clipboard

A Kotlin web framework

Results 70 kweb-core issues
Sort by recently updated
recently updated
newest added

Basically, since #114 is done, we need to remove the examples that are still in Kweb code (Unless we're using git sub repos and I didn't notice?) There's also various...

testing
cleancode

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).

question
architecture

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 {...

enhancement
efficiency

This is currently buried in the path receiver / render functionality. Extracting it will allow us to test it more efficiently, while also reusing it for Ktor routing, [which currently...

enhancement
architecture

This should have been caught by integration test: #130

testing

To externalize JS code to separated JS file , instead of put it in the block of each page. Maybe lazy loading JS file will also increase the load time....

enhancement
question

Hi I'm experimenting a bit with KWeb on my side project and I'd like to create custom keyboard shortcuts, but unfortunately on Ctrl+P there is browser print function. I did...

enhancement

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...

architecture

Basically, now that https://github.com/kwebio/kweb-core/issues/93 is fixed, it would be a nice API improvement to be able to use generics right up until the point where GSON casts the response to...

enhancement

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).

enhancement