unimorph
Universal DOM morpher with nanomorph / morphdom compatible API.
Supported libs
- react
- preact
- lit-html
var el = documentelinnerHTML = 'hello people' el = // <div>nanananana-na-no</div> el = // <div>teeny, tiny, tin bottle</div>
unimorph can morph both to JSX or raw HTML. It works with react by default, preact can be used via preact/compat
or directly as:
let result =
See also
- enhook - enable react/preact/etc hooks for any function.
- unihooks - unreacted hooks.
- spect - reactive aspect-oriented UI framework.
HK