Skip to content

Version 0.4

Compare
Choose a tag to compare
@jwstegemann jwstegemann released this 26 May 20:35
· 2798 commits to master since this release
391d73d

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 Tags (formerly html) to render:
render {
    div("my-class") {
        // ...
    }
}
  • the overloaded operator <= to bind a Flow of actions or events to a Handler was definitely not Kotlin-like, so we replaced it by the handledBy 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'
}