Skip to content

Repository files navigation

dhtml

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

import{html}from'https://tombl.github.io/dhtml/dist/index.js'import{createRoot,invalidate}from'https://tombl.github.io/dhtml/dist/client.js'constapp={i: 0,render(){returnhtml`<buttononclick=${()=>{this.i++invalidate(this)}}> Count: ${this.i}</button> `},}createRoot(document.body).render(app)

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages