fritz2 v0.4 Release Notes
Release Date: 2020-05-26 // almost 4 years ago-
๐ฅ breaking changes
๐ This release contains changes, that break code written with earlier versions:
๐ since it was the source of much confusion we renamed the function to build a tree of
Tag
s (formerlyhtml
) torender
:render { div("my-class") { // ... } }
the overloaded operator
<=
to bind aFlow
of actions or events to aHandler
was definitely not Kotlin-like, so we replaced it by thehandledBy
infix-function (please note the reversed order):button("btn btn-primary") { text("Add a dot") clicks handledBy store.addADot }
๐ new features
- ๐ improved remote-api
- ๐ support for building and using WebComponents
๐ bug fixes
- ๐ improved examples
- ๐ improved documentation
๐ build.gradle.kts
๐ Kotlin style
dependencies { implementation("io.fritz2:fritz2-core-js:0.4") }
๐ Groovy style
dependencies { implementation 'io.fritz2:fritz2-core-js:0.4'}