
DX-first UI rendering library.
import { View } from "@dlightjs/dlight"
@View
class MyComp {
night = false
fruits = ["🍎", "🍊", "🥑"]
Body() {
h1("hello, dlight js")
for (const fruit of this.fruits) {
div(fruit)
}
button("toggle")
.class("toggle")
.onClick(() => {
this.night = !this.night
})
if (this.night) {
"🌙"
"✨"
"🌟"
} else {
"🔆"
}
}
}
Thanks all existing frameworks for the inspiration and the great work they've done. DLight is standing on the shoulders of giants. * SwiftUI * React * Vue * Svelte * Solid * Angular * Preact * Qwik * Ember * Marko * VanJs * ef.js * Lit
Thanks js-framework-benchmark for the benchmarking tooling that pulls my hair out.
Thanks component party for the syntax level comparison between different frameworks.
$ claude mcp add dlight \
-- python -m otcore.mcp_server <graph>