Ian Clarke
Ian Clarke
Sorry for the delayed reply. Kweb doesn't support changes to the URL in immediate events, that might be doable but would be tricky.
Very cool, just trying to figure out what the most general version of this is. Is the main need here the ability to call [preventDefault()](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) from within the event handler...
Yes, that's a possibility - although hopefully a rare use-case in practice.
Not sure if this is still relevant.
Apparently fixed 7/17/2021
@Derek52 can correct me, but I think this should be addressed by #151 which is currently in-progress.
Thank you for the compliment :) I think abstracting out the HTTP framework should be fairly doable, most of the Ktor-specific stuff is in [Kweb.kt](https://github.com/kwebio/kweb-core/blob/master/src/main/kotlin/kweb/Kweb.kt), also a little in [HttpRequestInfo.kt](https://github.com/kwebio/kweb-core/blob/master/src/main/kotlin/kweb/client/HttpRequestInfo.kt)....
Hmm, that's not good. Do you see the styling applied in this Demo app? http://demo.kweb.io:7659/lists/7c5b34 It's using a recent version of Kweb. JDK8 shouldn't be an issue.
Oh, hmm, I can definitely remove the singletons - although I'm not sure why using a singleton would cause a problem, that may be a bug in its own right....
One quick non-breaking way to get rid of the singletons would be something like `val fomantic get() = FomanticUIPlugin()`.