Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 932 Bytes

README.md

File metadata and controls

51 lines (39 loc) · 932 Bytes

Sarla 📜 996.icu LICENSE

A new and lightweight frontend framework built on Kotlin.

简体中文

Features

  • Dirty check and minimize patch
  • Old IE support
  • JVM(SSR only) and WASM support
  • Slice patch (Fibers)
  • Lightweight
  • Global state manager
  • Plugin system

Hello World?

fun main() {
    render {
        +"Hello World!"
        awesome()
    }
}

Functional Component

val helloWorld = sarla {
    var times = data(0)
    h {
        button {
            events { onClick = { times++ } }
            +"Click me!"
        }
        div(0) {
            +"You clicked ${times()} times"
        }
    }
}

Author

Shirasawa - Apisium

License

Anti 996