mithhooks

Hooks for mithril.

Usage no npm install needed!

<script type="module">
  import mithhooks from 'https://cdn.skypack.dev/mithhooks';
</script>

README

mithHooks

Hooks for mithril.

Wrap your component in withHooks(). Use useState(), useRef(), and useEffect() like the React API.