vele
elegant virtual dom
Install
$ npm i @stagas/vele
WIP don't use
API
Table of Contents
useHook
Returns a callback that will trigger a rerender on the current component.
let clicked = 0
const Foo = () => <>
{clicked++}
<button onclick={useHook()}>click me</button>
</>
Returns any The hook callback
Contribute
All contributions are welcome!
License
MIT © 2022 stagas