Skip to content
/ Sarla Public

A lightweight frontend framework built on Kotlin.

License

Notifications You must be signed in to change notification settings

Apisium/Sarla

Repository files navigation

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

About

A lightweight frontend framework built on Kotlin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published