0.5.0 • Published 10 months ago

dynein v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Dynein

Dynein is a small yet powerful library for creating reactive DOM apps.

⚠️⚠️ EXPERIMENTAL / NOT FOR PRODUCTION USE ⚠️⚠️

Features

  • Zero dependencies
  • Tiny size (DOM + reactive state under 4 kB gzip)
  • No virtual DOM or diff/patch step
  • No JSX or custom compiler -- just plain JS (or TS) code.

A Quick Example

import * as D from "dynein"

const { button, h1 } = D.elements
const $text = D.addText

D.mountBody(()=>{
	const count = D.createSignal(0)
	h1("Hello World!")

	$text(()=>"Count = "+count())

	button({
		onclick:()=>{
			count(count()+1)
		}
	}, "Increment")
})

For more information, see the API docs.

0.5.0

10 months ago

0.4.0

12 months ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago