Welcome to another Virtual Kotlin Meetup.
Today, we will have Jens Stegemann talking about "Building Reactive Web-Apps in Pure Kotlin".
Here is the abstract:
Using Flows from the great kotlinx.coroutines you can quickly build entirely reactive web-apps in just pure Kotlin.
This gives you many benefits like using the same language (and concepts) for front- and backend-development, reusing the code of your data-classes and validation, staying with a toolchain you are already productive with, etc.
Of course, you could use any of the many JavaScript UI-libs with Kotlin/JS, but they are not designed to be used with Kotlin, and it is not always easy to use the full potential of Kotlin when doing so.
Although it is not much code necessary, we bundled what you need to build reactive web-apps in a clean, functional way in a small lib called fritz2 (https://www.fritz2.dev).
In this talk, we will introduce you to the concepts this is based on. We will show you how to set up a Kotlin/JS-project using fritz2 and build a small app to demonstrate how to make reusable components, handle your applications state, use precise data binding, routing, validation and more.
Link to the slides: https://slides.com/jwstegemann/fritz2...