An open API service indexing awesome lists of open source software.

https://github.com/tombl/dhtml

a post-component library for building user-interfaces on the web.
https://github.com/tombl/dhtml

Last synced: 2 months ago
JSON representation

a post-component library for building user-interfaces on the web.

Awesome Lists containing this project

README

        

# `dhtml`

a post-component library for building user interfaces on the web.

```javascript
import { html } from 'https://tombl.github.io/dhtml/dist/index.js'
import { createRoot, invalidate } from 'https://tombl.github.io/dhtml/dist/client.js'

const app = {
i: 0,
render() {
return html`
{
this.i++
invalidate(this)
}}
>
Count: ${this.i}

`
},
}

createRoot(document.body).render(app)
```