A lightweight, class-based Web Component framework with built-in reactive state, effects, computed values, and a slot-friendly templating system using lit-html.
Read about more components via the Index
Code:
<karton-requester
src="https://official-joke-api.appspot.com/jokes/random"
interval="30"
method="GET">
<template slot="success" type="application/json">[
{
"component": "karton-view",
"props": {
"title": "setup",
"main": "punchline"
},
"attrs": {
"data": "."
}
}
]</template>
</karton-requester>
Demo:
Check out more live docs/examples via the Index